We're updating the issue view to help you get more done. 

Missing BURS rule during OSR in CaffeineMark on PPC32

Description

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 Exception occurred in ConvertLIRtoMIR org.jikesrvm.compilers.opt.OptimizingCompilerException: ERROR produced in module:BURS rule missing in ref_move t17pi(I) = t43si(I) ref_move long_cmp register int_2long int_load register INT_CONSTANT -22500 at org.jikesrvm.compilers.opt.lir2mir.ppc.BURS_STATE.mark(BURS_STATE.java:129) at org.jikesrvm.compilers.opt.lir2mir.NormalBURS.labelTrees(NormalBURS.java:340) at org.jikesrvm.compilers.opt.lir2mir.NormalBURS.invoke(NormalBURS.java:83) at org.jikesrvm.compilers.opt.lir2mir.ConvertLIRtoMIR$DoBURS.perform(ConvertLIRtoMIR.java:432) at org.jikesrvm.compilers.opt.driver.CompilerPhase.performPhase(CompilerPhase.java:205) at org.jikesrvm.compilers.opt.driver.OptimizationPlanAtomicElement.perform(OptimizationPlanAtomicElement.java:78) at org.jikesrvm.compilers.opt.driver.OptimizationPlanCompositeElement.perform(OptimizationPlanCompositeElement.java:129) at org.jikesrvm.compilers.opt.driver.OptimizationPlanCompositeElement.perform(OptimizationPlanCompositeElement.java:129) at org.jikesrvm.compilers.opt.driver.CompilationPlan.execute(CompilationPlan.java:128) at org.jikesrvm.compilers.opt.driver.OptimizingCompiler.compile(OptimizingCompiler.java:170) at org.jikesrvm.compilers.common.RuntimeCompiler.optCompile(RuntimeCompiler.java:362) at org.jikesrvm.compilers.common.RuntimeCompiler.recompileWithOptOnStackSpecialization(RuntimeCompiler.java:491) at org.jikesrvm.osr.SpecialCompiler.optCompile(SpecialCompiler.java:207) at org.jikesrvm.osr.SpecialCompiler.recompileState(SpecialCompiler.java:46) at org.jikesrvm.adaptive.OnStackReplacementPlan.execute(OnStackReplacementPlan.java:120) at org.jikesrvm.adaptive.recompilation.CompilationThread.run(CompilationThread.java:54) -13 LABEL0 Frequency: 1.0 -2 EG ir_prologue l0pa(LBenchmarkUnit;,x,d) = 0 G yieldpoint_prologue -1 ppc_addis t71a(Lorg/vmmagic/unboxed/Offset;) = JTOC(Lorg/vmmagic/unboxed/Address;), 1 -15 ppc_lint t44sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) = t71a(Lorg/vmmagic/unboxed/Offset;), 11704, <unused>, <unused> -15 ppc_ldi t72i(I) = 0 -15 ppc_ldi t73i(I) = 0 -1 ppc_mtspr CTR(Lorg/vmmagic/unboxed/Address;) = t44sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) -15 EG ppc_bctrl l0pa(LBenchmarkUnit;) LR = <unused>, static"< BootstrapCL, Lorg/jikesrvm/osr/ObjectHolder; >.getRefAt (II)Ljava/lang/Object;", t72i(I), t73i(I) JTOC CTR -1 ppc_addis t74a(Lorg/vmmagic/unboxed/Offset;) = JTOC(Lorg/vmmagic/unboxed/Address;), 1 -15 ppc_lint t45sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) = t74a(Lorg/vmmagic/unboxed/Offset;), 11704, <unused>, <unused> -15 ppc_ldi t75i(I) = 0 -15 ppc_ldi t76i(I) = 1 -1 ppc_mtspr CTR(Lorg/vmmagic/unboxed/Address;) = t45sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) -15 EG ppc_bctrl l6psa(LStopWatch;) LR = <unused>, static"< BootstrapCL, Lorg/jikesrvm/osr/ObjectHolder; >.getRefAt (II)Ljava/lang/Object;", t75i(I), t76i(I) JTOC CTR -2 guard_move t1pv(GUARD) = <TRUEGUARD> -1 ppc_addis t77a(Lorg/vmmagic/unboxed/Offset;) = JTOC(Lorg/vmmagic/unboxed/Address;), 1 -15 ppc_lint t46sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) = t77a(Lorg/vmmagic/unboxed/Offset;), 11708, <unused>, <unused> -15 ppc_ldi t78i(I) = 0 -1 ppc_mtspr CTR(Lorg/vmmagic/unboxed/Address;) = t46sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) -15 EG ppc_bctrl LR = <unused>, static"< BootstrapCL, Lorg/jikesrvm/osr/ObjectHolder; >.cleanRefs (I)V", t78i(I) JTOC CTR -15 ppc_ldi l7pi(S) = 30414 -4 ppc_ldi t17pi(B) = -1 -15 ppc_b LABEL4 -1 bbend BB0 (ENTRY) 32 LABEL1 Frequency: 23496.502 37 EG null_check t1pv(GUARD) = l0pa(LBenchmarkUnit;) 32 ppc_addi l7pi(I) = l7pi(I), 1 37 ppc_lint t36psa(LBenchmarkAtom;) = l0pa(LBenchmarkUnit;), -4, <mem loc: LBenchmarkUnit;.unitAtom>, t1pv(GUARD) 40 EG null_check t38psv(GUARD) = t36psa(LBenchmarkAtom;) 40 ppc_lint t47sa(Lorg/jikesrvm/objectmodel/TIB;) = t36psa(LBenchmarkAtom;), -12, <unused>, t38psv(GUARD) 40 ppc_lint t48psa([I) = t47sa(Lorg/jikesrvm/objectmodel/TIB;), 8, <unused>, <unused> 40 ppc_lint t49si(I) = t48psa([I), -4, <mem loc: array length>, <TRUEGUARD> 40 guard_move t50sv(GUARD) = <TRUEGUARD> -1 ppc_cmpi t79c(I) = t49si(I), 5 40 ppc_bcond t79c(I), ppc <=, LABEL8, Probability: 0.0 -1 bbend BB1 40 LABEL2 Frequency: 23496.502 40 ppc_lint t51si(I) = t48psa([I), 20, <mem loc: array < BootstrapCL, I >[]>, <TRUEGUARD> 40 guard_move t53sv(GUARD) = <TRUEGUARD> -1 ppc_andi. R0(I) C0 = t51si(I), 64 40 ppc_bcond C0(I), ppc ==, LABEL8, Probability: 0.0 -1 bbend BB2 40 LABEL3 Frequency: 23496.502 40 int_load t54sa(Lorg/jikesrvm/objectmodel/TIB;) = t36psa(LBenchmarkAtom;), -12, <unused>, t38psv(GUARD) 40 int_load t55sa(Lorg/jikesrvm/objectmodel/IMT;) = t54sa(Lorg/jikesrvm/objectmodel/TIB;), 16, <unused>, <unused> 40 int_load t56sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) = t55sa(Lorg/jikesrvm/objectmodel/IMT;), 4, <unused>, <unused> 40 EG call t37si(I) LR = t56sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;), interface"< SystemAppCL, LBenchmarkAtom; >.execute ()I", t38psv(GUARD), t36psa(LBenchmarkAtom;) JTOC 45 int_store t37si(I), l0pa(LBenchmarkUnit;), 0, <mem loc: LBenchmarkUnit;.lastResult>, t1pv(GUARD) 49 EG null_check t13pv(GUARD) = l6psa(LStopWatch;) 49 int_load t57sa(Lorg/jikesrvm/objectmodel/TIB;) = l6psa(LStopWatch;), -12, <unused>, t13pv(GUARD) 49 int_load t58sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) = t57sa(Lorg/jikesrvm/objectmodel/TIB;), 84, <unused>, <TRUEGUARD> 49 EG call t40sl(J) LR = t58sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;), virtual"< SystemAppCL, LStopWatch; >.Milliseconds ()J", t13pv(GUARD), l6psa(LStopWatch;) JTOC 52 int_load t41si(I) = JTOC(Lorg/vmmagic/unboxed/Address;), -22500, <mem loc: LBenchmarkUnit;.wTESTMILLISECONDS>, <unused> 55 int_2long t42sl(J) = t41si(I) 56 long_cmp t43si(I) = t40sl(J), t42sl(J) -4 ref_move t17pi(I) = t43si(I) -1 bbend BB3 57 LABEL4 Frequency: 23497.502 57 G yieldpoint_backedge 57 int_ifcmp t31sv(GUARD) = t17pi(I), 0, <, LABEL1, Probability: 0.99995744 -1 bbend BB4 60 LABEL5 (Infrequent) Frequency: 1.0 61 EG null_check t13pv(GUARD) = l6psa(LStopWatch;) 61 int_load t59sa(Lorg/jikesrvm/objectmodel/TIB;) = l6psa(LStopWatch;), -12, <unused>, t13pv(GUARD) 61 int_load t60sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) = t59sa(Lorg/jikesrvm/objectmodel/TIB;), 76, <unused>, <TRUEGUARD> 61 EG call LR = t60sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;), virtual"< SystemAppCL, LStopWatch; >.StopTimer ()V", t13pv(GUARD), l6psa(LStopWatch;) JTOC 65 EG null_check t1pv(GUARD) = l0pa(LBenchmarkUnit;) 65 int_load t32psa(LBenchmarkAtom;) = l0pa(LBenchmarkUnit;), -4, <mem loc: LBenchmarkUnit;.unitAtom>, t1pv(GUARD) 68 EG null_check t34psv(GUARD) = t32psa(LBenchmarkAtom;) 68 int_load t61sa(Lorg/jikesrvm/objectmodel/TIB;) = t32psa(LBenchmarkAtom;), -12, <unused>, t34psv(GUARD) 68 int_load t62psa([I) = t61sa(Lorg/jikesrvm/objectmodel/TIB;), 8, <unused>, <unused> 68 int_load t63si(I) = t62psa([I), -4, <mem loc: array length>, <TRUEGUARD> 68 int_ifcmp t64sv(GUARD) = t63si(I), 5, <=, LABEL9, Probability: 0.0 -1 bbend BB5 68 LABEL6 (Infrequent) Frequency: 1.0 68 int_load t65si(I) = t62psa([I), 20, <mem loc: array < BootstrapCL, I >[]>, <TRUEGUARD> 68 ref_and t66si(I) = t65si(I), 64 68 int_ifcmp t67sv(GUARD) = t66si(I), 0, ==, LABEL9, Probability: 0.0 -1 bbend BB6 68 LABEL7 (Infrequent) Frequency: 1.0 68 int_load t68sa(Lorg/jikesrvm/objectmodel/TIB;) = t32psa(LBenchmarkAtom;), -12, <unused>, t34psv(GUARD) 68 int_load t69sa(Lorg/jikesrvm/objectmodel/IMT;) = t68sa(Lorg/jikesrvm/objectmodel/TIB;), 16, <unused>, <unused> 68 int_load t70sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;) = t69sa(Lorg/jikesrvm/objectmodel/IMT;), 16, <unused>, <unused> 68 EG call t33si(I) LR = t70sa(Lorg/jikesrvm/ArchitectureSpecific$CodeArray;), interface"< SystemAppCL, LBenchmarkAtom; >.cleanUp ()I", t34psv(GUARD), t32psa(LBenchmarkAtom;) JTOC -10 G yieldpoint_epilogue -3 return l7pi(I) -1 bbend BB7 40 LABEL8 (Infrequent) Frequency: 0.0 40 EG trap <MUST IMPLEMENT> -1 bbend BB8 68 LABEL9 (Infrequent) Frequency: 0.0 68 EG trap <MUST IMPLEMENT> -1 bbend BB9 org.jikesrvm.compilers.opt.OptimizingCompilerException: ERROR produced in module:BURS rule missing in ref_move t17pi(I) = t43si(I) ref_move long_cmp register int_2long int_load register INT_CONSTANT -22500 at org.jikesrvm.compilers.opt.lir2mir.ppc.BURS_STATE.mark(BURS_STATE.java:129) at org.jikesrvm.compilers.opt.lir2mir.NormalBURS.labelTrees(NormalBURS.java:340) at org.jikesrvm.compilers.opt.lir2mir.NormalBURS.invoke(NormalBURS.java:83) at org.jikesrvm.compilers.opt.lir2mir.ConvertLIRtoMIR$DoBURS.perform(ConvertLIRtoMIR.java:432) at org.jikesrvm.compilers.opt.driver.CompilerPhase.performPhase(CompilerPhase.java:205) at org.jikesrvm.compilers.opt.driver.OptimizationPlanAtomicElement.perform(OptimizationPlanAtomicElement.java:78) at org.jikesrvm.compilers.opt.driver.OptimizationPlanCompositeElement.perform(OptimizationPlanCompositeElement.java:129) at org.jikesrvm.compilers.opt.driver.OptimizationPlanCompositeElement.perform(OptimizationPlanCompositeElement.java:129) at org.jikesrvm.compilers.opt.driver.CompilationPlan.execute(CompilationPlan.java:128) at org.jikesrvm.compilers.opt.driver.OptimizingCompiler.compile(OptimizingCompiler.java:170) at org.jikesrvm.compilers.common.RuntimeCompiler.optCompile(RuntimeCompiler.java:362) at org.jikesrvm.compilers.common.RuntimeCompiler.recompileWithOptOnStackSpecialization(RuntimeCompiler.java:491) at org.jikesrvm.osr.SpecialCompiler.optCompile(SpecialCompiler.java:207) at org.jikesrvm.osr.SpecialCompiler.recompileState(SpecialCompiler.java:46) at org.jikesrvm.adaptive.OnStackReplacementPlan.execute(OnStackReplacementPlan.java:120) at org.jikesrvm.adaptive.recompilation.CompilationThread.run(CompilationThread.java:54) Optimizing compiler (via recompileWithOptOnStackSpecialization): can't optimize "< SystemAppCL, LBenchmarkUnit; >.loopsPerSecond ()I" (error was: org.jikesrvm.compilers.opt.OptimizingCompilerException: ERROR produced in module:BURS rule missing in ref_move t17pi(I) = t43si(I) ref_move long_cmp register int_2long int_load register INT_CONSTANT -22500 ) Thread #12 -- Stack -- (0x420dcef0 5364) at [0x420dcef0, 0x356e2a8c] Lorg/jikesrvm/VM; sysFail(Ljava/lang/String;)V at line 2324 (0x420dcf10 17104) at [0x420dcf10, 0x35a12d18] Lorg/jikesrvm/compilers/common/RuntimeCompiler; recompileWithOptOnStackSpecialization(Lorg/jikesrvm/compilers/opt/driver/CompilationPlan;)Lorg/jikesrvm/compilers/common/CompiledMethod; at line 509 (0x420dcf38 6197) at [0x420dcf38, 0x35a131d8] Lorg/jikesrvm/osr/SpecialCompiler; optCompile(Lorg/jikesrvm/osr/ExecutionState;)Lorg/jikesrvm/compilers/common/CompiledMethod; at line 207 (0x420dcf80 6195) at [0x420dcf80, 0x355fd250] Lorg/jikesrvm/osr/SpecialCompiler; recompileState(Lorg/jikesrvm/osr/ExecutionState;Z)Lorg/jikesrvm/compilers/common/CompiledMethod; at line 46 (0x420dcf98 14103) at [0x420dcf98, 0x354c6184] Lorg/jikesrvm/adaptive/OnStackReplacementPlan; execute()V at line 120 (0x420dcfd0 7698) at [0x420dcfd0, 0x35b75364] Lorg/jikesrvm/adaptive/recompilation/CompilationThread; run()V at line 54 (0x420dcfe0 18682) at [0x420dcfe0, 0x35b75240] Lorg/jikesrvm/scheduler/RVMThread; startoff()V at line 2606 ******************************************************************************** * Abnormal termination of Jikes RVM * * Jikes RVM terminated abnormally indicating a problem in the virtual machine. * * Jikes RVM relies on community support to get debug information. Help improve * * Jikes RVM for everybody by reporting this error. Please see: * * http://jikesrvm.org/Reporting+Bugs * ********************************************************************************

Environment

PPC32

Status

Assignee

Unassigned

Reporter

Erik Brangs

Labels

None

External issue ID

None

Fix versions

Affects versions

3.1.3

Priority

Medium