@@ -117,12 +117,11 @@ class GenBCodePipeline(val entryPoints: List[Symbol], val int: DottyBackendInter
117117
118118 case class Item2 (arrivalPos : Int ,
119119 mirror : SubItem2 ,
120- plain : SubItem2 ,
121- bean : SubItem2 ) {
120+ plain : SubItem2 ) {
122121 def isPoison = { arrivalPos == Int .MaxValue }
123122 }
124123
125- private val poison2 = Item2 (Int .MaxValue , null , null , null )
124+ private val poison2 = Item2 (Int .MaxValue , null , null )
126125 private val q2 = new _root_.java.util.LinkedList [Item2 ]
127126
128127 /* ---------------- q3 ---------------- */
@@ -142,8 +141,7 @@ class GenBCodePipeline(val entryPoints: List[Symbol], val int: DottyBackendInter
142141
143142 case class Item3 (arrivalPos : Int ,
144143 mirror : SubItem3 ,
145- plain : SubItem3 ,
146- bean : SubItem3 ) {
144+ plain : SubItem3 ) {
147145
148146 def isPoison = { arrivalPos == Int .MaxValue }
149147 }
@@ -154,7 +152,7 @@ class GenBCodePipeline(val entryPoints: List[Symbol], val int: DottyBackendInter
154152 else 1
155153 }
156154 }
157- private val poison3 = Item3 (Int .MaxValue , null , null , null )
155+ private val poison3 = Item3 (Int .MaxValue , null , null )
158156 private val q3 = new java.util.PriorityQueue [Item3 ](1000 , i3comparator)
159157
160158 /*
@@ -248,7 +246,7 @@ class GenBCodePipeline(val entryPoints: List[Symbol], val int: DottyBackendInter
248246
249247 // ----------- create files
250248
251- val classNodes = List (mirrorC, plainC, beanC )
249+ val classNodes = List (mirrorC, plainC)
252250 val classFiles = classNodes.map(cls =>
253251 if (outF != null && cls != null ) {
254252 try {
@@ -290,8 +288,7 @@ class GenBCodePipeline(val entryPoints: List[Symbol], val int: DottyBackendInter
290288 val item2 =
291289 Item2 (arrivalPos,
292290 SubItem2 (mirrorC, classFiles(0 )),
293- SubItem2 (plainC, classFiles(1 )),
294- SubItem2 (beanC, classFiles(2 )))
291+ SubItem2 (plainC, classFiles(1 )))
295292
296293 q2 add item2 // at the very end of this method so that no Worker2 thread starts mutating before we're done.
297294
@@ -340,21 +337,17 @@ class GenBCodePipeline(val entryPoints: List[Symbol], val int: DottyBackendInter
340337 cw.toByteArray
341338 }
342339
343- val Item2 (arrivalPos,
344- SubItem2 (mirror, mirrorFile),
345- SubItem2 (plain, plainFile),
346- SubItem2 (bean, beanFile)) = item
340+ val Item2 (arrivalPos, SubItem2 (mirror, mirrorFile), SubItem2 (plain, plainFile)) = item
347341
348342 val mirrorC = if (mirror == null ) null else SubItem3 (mirror.name, getByteArray(mirror), mirrorFile)
349343 val plainC = SubItem3 (plain.name, getByteArray(plain), plainFile)
350- val beanC = if (bean == null ) null else SubItem3 (bean.name, getByteArray(bean), beanFile)
351344
352345 if (AsmUtils .traceSerializedClassEnabled && plain.name.contains(AsmUtils .traceSerializedClassPattern)) {
353346 if (mirrorC != null ) AsmUtils .traceClass(mirrorC.jclassBytes)
354347 AsmUtils .traceClass(plainC.jclassBytes)
355348 }
356349
357- q3 add Item3 (arrivalPos, mirrorC, plainC, beanC )
350+ q3 add Item3 (arrivalPos, mirrorC, plainC)
358351 }
359352
360353 } // end of class BCodePhase.Worker2
@@ -470,7 +463,6 @@ class GenBCodePipeline(val entryPoints: List[Symbol], val int: DottyBackendInter
470463 val item = incoming
471464 sendToDisk(item.mirror)
472465 sendToDisk(item.plain)
473- sendToDisk(item.bean)
474466 expected += 1
475467 }
476468 }
0 commit comments