TEST: compiler/tiered/Level2RecompilationTest.java TEST JDK: /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk ACTION: build -- Passed. All files up to date REASON: User specified action: run build jdk.test.whitebox.WhiteBox TIME: 0.0 seconds messages: command: build jdk.test.whitebox.WhiteBox reason: User specified action: run build jdk.test.whitebox.WhiteBox started: Sat Feb 15 20:38:30 CST 2025 finished: Sat Feb 15 20:38:30 CST 2025 elapsed time (seconds): 0.0 ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.0 seconds messages: command: build jdk.test.lib.helpers.ClassFileInstaller reason: Named class compiled on demand started: Sat Feb 15 20:38:30 CST 2025 finished: Sat Feb 15 20:38:30 CST 2025 elapsed time (seconds): 0.0 ACTION: driver -- Passed. Execution successful REASON: User specified action: run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox TIME: 0.643 seconds messages: command: driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox reason: User specified action: run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox started: Sat Feb 15 20:38:30 CST 2025 Mode: othervm Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED finished: Sat Feb 15 20:38:31 CST 2025 elapsed time (seconds): 0.643 configuration: Boot Layer add modules: java.base java.management add exports: java.base/jdk.internal.misc ALL-UNNAMED STDOUT: STDERR: STATUS:Passed. rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/tiered/Level2RecompilationTest && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk/bin/java \ -Dtest.vm.opts='-ea -esa' \ -Dtest.tool.vm.opts='-J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -Dtest.timeout.factor=10.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.name=compiler/tiered/Level2RecompilationTest.java \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered/Level2RecompilationTest.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/compiler/tiered/Level2RecompilationTest.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/compiler/tiered/Level2RecompilationTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0 \ -Dtest.modules='java.base/jdk.internal.misc java.management' \ --add-modules java.base,java.management \ --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/tiered/Level2RecompilationTest.d/driver.0.jta jdk.test.whitebox.WhiteBox ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 9.871 seconds messages: command: build compiler.tiered.Level2RecompilationTest reason: Named class compiled on demand started: Sat Feb 15 20:38:31 CST 2025 Test directory: compile: compiler.tiered.Level2RecompilationTest finished: Sat Feb 15 20:38:41 CST 2025 elapsed time (seconds): 9.871 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 9.87 seconds messages: command: compile /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered/Level2RecompilationTest.java reason: .class file out of date or does not exist started: Sat Feb 15 20:38:31 CST 2025 Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED Mode: othervm finished: Sat Feb 15 20:38:41 CST 2025 elapsed time (seconds): 9.87 configuration: javac compilation environment add modules: java.base java.management add exports: java.base/jdk.internal.misc ALL-UNNAMED source path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered /tmp/tone/run/jtreg/jdk-repo/test/lib /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg class path: /tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/compiler/tiered/Level2RecompilationTest.d /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0 rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/tiered/Level2RecompilationTest && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk/bin/javac \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-ea -esa' \ -J-Dtest.tool.vm.opts='-J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -J-Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -J-Dtest.timeout.factor=10.0 \ -J-Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -J-Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -J-Dtest.name=compiler/tiered/Level2RecompilationTest.java \ -J-Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered/Level2RecompilationTest.java \ -J-Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered \ -J-Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -J-Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/compiler/tiered/Level2RecompilationTest.d \ -J-Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/compiler/tiered/Level2RecompilationTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0 \ -J-Dtest.modules='java.base/jdk.internal.misc java.management' \ @/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/tiered/Level2RecompilationTest.d/compile.1.jta STDOUT: STDERR: ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: expected[2] != actual[3] REASON: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::* -XX:CompileCommand=print,compiler.whitebox.SimpleTestCaseHelper::* compiler.tiered.Level2RecompilationTest TIME: 0.773 seconds messages: command: main -Xbootclasspath/a:. -XX:+TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::* -XX:CompileCommand=print,compiler.whitebox.SimpleTestCaseHelper::* compiler.tiered.Level2RecompilationTest reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::* -XX:CompileCommand=print,compiler.whitebox.SimpleTestCaseHelper::* compiler.tiered.Level2RecompilationTest started: Sat Feb 15 20:38:41 CST 2025 Mode: othervm [/othervm specified] Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED finished: Sat Feb 15 20:38:42 CST 2025 elapsed time (seconds): 0.773 configuration: Boot Layer add modules: java.base java.management add exports: java.base/jdk.internal.misc ALL-UNNAMED STDOUT: CompileCommand: compileonly compiler/whitebox/SimpleTestCaseHelper.* bool compileonly = true CompileCommand: print compiler/whitebox/SimpleTestCaseHelper.* bool print = true TEST CASE:METHOD_TEST at test's start: private int compiler.whitebox.SimpleTestCaseHelper.method(): compilable: true compiled: false comp_level: 0 osr_compilable: true osr_compiled: false osr_comp_level: 0 in_queue: false compile_queues_size: 0 ============================= C1-compiled nmethod ============================== ----------------------------------- Assembly ----------------------------------- Compiled method (c1) 497 39 3 compiler.whitebox.SimpleTestCaseHelper::method (3 bytes) total in heap [0x00007fd7bc5c4008,0x00007fd7bc5c4248] = 576 relocation [0x00007fd7bc5c40f0,0x00007fd7bc5c4118] = 40 main code [0x00007fd7bc5c4120,0x00007fd7bc5c41f8] = 216 stub code [0x00007fd7bc5c41f8,0x00007fd7bc5c4238] = 64 oops [0x00007fd7bc5c4238,0x00007fd7bc5c4240] = 8 metadata [0x00007fd7bc5c4240,0x00007fd7bc5c4248] = 8 immutable data [0x00007fd6fc0171c0,0x00007fd6fc017220] = 96 dependencies [0x00007fd6fc0171c0,0x00007fd6fc0171c8] = 8 scopes pcs [0x00007fd6fc0171c8,0x00007fd6fc017208] = 64 scopes data [0x00007fd6fc017208,0x00007fd6fc017220] = 24 [Disassembly] -------------------------------------------------------------------------------- [Constant Pool (empty)] -------------------------------------------------------------------------------- [Instructions begin] ;; block B1 [0, 0] 0x00007fd7bc5c4120: nop 0x00007fd7bc5c4121: nop 0x00007fd7bc5c4122: nop 0x00007fd7bc5c4123: nop 0x00007fd7bc5c4124: nop 0x00007fd7bc5c4125: nop 0x00007fd7bc5c4126: nop 0x00007fd7bc5c4127: nop 0x00007fd7bc5c4128: nop 0x00007fd7bc5c4129: nop 0x00007fd7bc5c412a: nop 0x00007fd7bc5c412b: nop 0x00007fd7bc5c412c: nop 0x00007fd7bc5c412d: nop 0x00007fd7bc5c412e: nop 0x00007fd7bc5c412f: nop 0x00007fd7bc5c4130: nop 0x00007fd7bc5c4131: nop [Entry Point] # {method} {0x00007fd724411110} 'method' '()I' in 'compiler/whitebox/SimpleTestCaseHelper' # [sp+0x30] (sp of caller) 0x00007fd7bc5c4132: mov 0x8(%rsi),%r10d 0x00007fd7bc5c4136: cmp 0x8(%rax),%r10d 0x00007fd7bc5c413a: jne 0x00007fd7c3aaa2e0 ; {runtime_call Shared Runtime ic_miss_blob} [Verified Entry Point] 0x00007fd7bc5c4140: mov %eax,-0x18000(%rsp) 0x00007fd7bc5c4147: push %rbp 0x00007fd7bc5c4148: sub $0x20,%rsp 0x00007fd7bc5c414c: cmpl $0x0,0x20(%r15) 0x00007fd7bc5c4154: je 0x00007fd7bc5c415b 0x00007fd7bc5c4156: callq Stub::method_entry_barrier ; {runtime_call StubRoutines (finalstubs)} 0x00007fd7bc5c415b: mov $0x7fd7244199a8,%rax ; {metadata(method data for {method} {0x00007fd724411110} 'method' '()I' in 'compiler/whitebox/SimpleTestCaseHelper')} 0x00007fd7bc5c4165: mov 0x11c(%rax),%edi 0x00007fd7bc5c416b: add $0x2,%edi 0x00007fd7bc5c416e: mov %edi,0x11c(%rax) 0x00007fd7bc5c4174: and $0x7fe,%edi 0x00007fd7bc5c417a: test %edi,%edi ;; 18 branch [EQ] [CounterOverflowStub: 0x00007fd704046b68] 0x00007fd7bc5c417c: je 0x00007fd7bc5c4197 ;*bipush {reexecute=0 rethrow=0 return_oop=0} ; - compiler.whitebox.SimpleTestCaseHelper::method@0 (line 169) ;; block B2 [0, 0] ;; block B0 [0, 2] 0x00007fd7bc5c4182: mov $0x2a,%eax 0x00007fd7bc5c4187: add $0x20,%rsp 0x00007fd7bc5c418b: pop %rbp 0x00007fd7bc5c418c: cmp 0x28(%r15),%rsp ; {poll_return} 0x00007fd7bc5c4190: ja 0x00007fd7bc5c41b5 0x00007fd7bc5c4196: retq ;; CounterOverflowStub slow case 0x00007fd7bc5c4197: mov $0x7fd724411110,%r10 ; {metadata({method} {0x00007fd724411110} 'method' '()I' in 'compiler/whitebox/SimpleTestCaseHelper')} 0x00007fd7bc5c41a1: mov %r10,0x8(%rsp) 0x00007fd7bc5c41a6: movq $0xffffffffffffffff,(%rsp) 0x00007fd7bc5c41ae: callq 0x00007fd7c3b58f80 ; ImmutableOopMap {rsi=Oop } ;*synchronization entry ; - compiler.whitebox.SimpleTestCaseHelper::method@-1 (line 169) ; {runtime_call C1 Runtime counter_overflow_blob} 0x00007fd7bc5c41b3: jmp 0x00007fd7bc5c4182 ;; C1SafepointPollStub slow case 0x00007fd7bc5c41b5: mov $0x7fd7bc5c418c,%r10 ; {internal_word} 0x00007fd7bc5c41bf: mov %r10,0x498(%r15) 0x00007fd7bc5c41c6: jmpq 0x00007fd7c3ab37e0 ; {runtime_call SafepointBlob} ;; Unwind handler 0x00007fd7bc5c41cb: mov 0x558(%r15),%rax 0x00007fd7bc5c41d2: movq $0x0,0x558(%r15) 0x00007fd7bc5c41dd: movq $0x0,0x560(%r15) 0x00007fd7bc5c41e8: add $0x20,%rsp 0x00007fd7bc5c41ec: pop %rbp 0x00007fd7bc5c41ed: jmpq 0x00007fd7c3aa9ae0 ; {runtime_call C1 Runtime unwind_exception_blob} 0x00007fd7bc5c41f2: hlt 0x00007fd7bc5c41f3: hlt 0x00007fd7bc5c41f4: hlt 0x00007fd7bc5c41f5: hlt 0x00007fd7bc5c41f6: hlt 0x00007fd7bc5c41f7: hlt [Exception Handler] 0x00007fd7bc5c41f8: mov $0xdead,%ebx ; {no_reloc} 0x00007fd7bc5c41fd: mov $0xdead,%ecx 0x00007fd7bc5c4202: mov $0xdead,%esi 0x00007fd7bc5c4207: mov $0xdead,%edi 0x00007fd7bc5c420c: callq 0x00007fd7c39c0b80 ; {runtime_call C1 Runtime handle_exception_from_callee_blob} 0x00007fd7bc5c4211: mov $0x7fd7dd4a2122,%rdi ; {external_word} 0x00007fd7bc5c421b: and $0xfffffffffffffff0,%rsp 0x00007fd7bc5c421f: callq 0x00007fd7dcb90e30 ; {runtime_call MacroAssembler::debug64(char*, long, long*)} 0x00007fd7bc5c4224: hlt [Deopt Handler Code] 0x00007fd7bc5c4225: mov $0x7fd7bc5c4225,%r10 ; {section_word} 0x00007fd7bc5c422f: push %r10 0x00007fd7bc5c4231: jmpq 0x00007fd7c3ab1ea0 ; {runtime_call DeoptimizationBlob} 0x00007fd7bc5c4236: hlt 0x00007fd7bc5c4237: hlt -------------------------------------------------------------------------------- [/Disassembly] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Oops: 0x00007fd7bc5c4238: 0x000000011f02cff0 a 'jdk/internal/loader/ClassLoaders$AppClassLoader'{0x000000011f02cff0} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Metadata: 0x00007fd7bc5c4240: 0x00007fd724411110 {method} {0x00007fd724411110} 'method' '()I' in 'compiler/whitebox/SimpleTestCaseHelper' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pc-bytecode offsets: PcDesc(pc=0x00007fd7bc5c411f offset=ffffffff bits=0): PcDesc(pc=0x00007fd7bc5c4182 offset=62 bits=0): compiler.whitebox.SimpleTestCaseHelper::method@0 (line 169) PcDesc(pc=0x00007fd7bc5c41b3 offset=93 bits=0): compiler.whitebox.SimpleTestCaseHelper::method@-1 (line 169) Locals - l0: reg rsi [12],oop PcDesc(pc=0x00007fd7bc5c4239 offset=119 bits=0): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - oop maps:ImmutableOopMapSet contains 1 OopMaps ImmutableOopMap {rsi=Oop } pc offsets: 147 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - scopes: ScopeDesc(pc=0x00007fd7bc5c4182 offset=62): compiler.whitebox.SimpleTestCaseHelper::method@0 (line 169) ScopeDesc(pc=0x00007fd7bc5c41b3 offset=93): compiler.whitebox.SimpleTestCaseHelper::method@-1 (line 169) Locals - l0: reg rsi [12],oop - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - relocations: @0x00007fd7bc5c40f0: 301a relocInfo@0x00007fd7bc5c40f0 [type=6(runtime_call) addr=0x00007fd7bc5c413a offset=26] | [destination=0x00007fd7c3aaa2e0] @0x00007fd7bc5c40f2: 311c relocInfo@0x00007fd7bc5c40f2 [type=6(runtime_call) addr=0x00007fd7bc5c4156 offset=28 format=1] | [destination=0x00007fd7c3a11100] @0x00007fd7bc5c40f4: 6005 relocInfo@0x00007fd7bc5c40f4 [type=12(metadata) addr=0x00007fd7bc5c415b offset=5] | [metadata_addr=0x00007fd7bc5c415d *=0x00007fd7244199a8]metadata_value=0x00007fd7244199a8: method data for {method} {0x00007fd724411110} 'method' '()I' in 'compiler/whitebox/SimpleTestCaseHelper' @0x00007fd7bc5c40f6: 5831 relocInfo@0x00007fd7bc5c40f6 [type=11(poll_return) addr=0x00007fd7bc5c418c offset=49] @0x00007fd7bc5c40f8: 600b relocInfo@0x00007fd7bc5c40f8 [type=12(metadata) addr=0x00007fd7bc5c4197 offset=11] | [metadata_addr=0x00007fd7bc5c4199 *=0x00007fd724411110]metadata_value=0x00007fd724411110: {method} {0x00007fd724411110} 'method' '()I' in 'compiler/whitebox/SimpleTestCaseHelper' @0x00007fd7bc5c40fa: 3117 relocInfo@0x00007fd7bc5c40fa [type=6(runtime_call) addr=0x00007fd7bc5c41ae offset=23 format=1] | [destination=0x00007fd7c3b58f80] @0x00007fd7bc5c40fc: 78294007 relocInfo@0x00007fd7bc5c40fe [type=8(internal_word) addr=0x00007fd7bc5c41b5 offset=7 data=41] | [target=0x00007fd7bc5c418c] @0x00007fd7bc5c4100: 3111 relocInfo@0x00007fd7bc5c4100 [type=6(runtime_call) addr=0x00007fd7bc5c41c6 offset=17 format=1] | [destination=0x00007fd7c3ab37e0] @0x00007fd7bc5c4102: 3127 relocInfo@0x00007fd7bc5c4102 [type=6(runtime_call) addr=0x00007fd7bc5c41ed offset=39 format=1] | [destination=0x00007fd7c3aa9ae0] @0x00007fd7bc5c4104: 000b relocInfo@0x00007fd7bc5c4104 [type=0(none) addr=0x00007fd7bc5c41f8 offset=11] @0x00007fd7bc5c4106: 3114 relocInfo@0x00007fd7bc5c4106 [type=6(runtime_call) addr=0x00007fd7bc5c420c offset=20 format=1] | [destination=0x00007fd7c39c0b80] @0x00007fd7bc5c4108: 78013805 relocInfo@0x00007fd7bc5c410a [type=7(external_word) addr=0x00007fd7bc5c4211 offset=5 data=1] | [target=0x00007fd7dd4a2122] @0x00007fd7bc5c410c: 310e relocInfo@0x00007fd7bc5c410c [type=6(runtime_call) addr=0x00007fd7bc5c421f offset=14 format=1] | [destination=0x00007fd7dcb90e30] @0x00007fd7bc5c410e: 7c01ff4e4806 relocInfo@0x00007fd7bc5c4112 [type=9(section_word) addr=0x00007fd7bc5c4225 offset=6 data=-178] | [target=0x00007fd7bc5c4225] @0x00007fd7bc5c4114: 310c relocInfo@0x00007fd7bc5c4114 [type=6(runtime_call) addr=0x00007fd7bc5c4231 offset=12 format=1] | [destination=0x00007fd7c3ab1ea0] @0x00007fd7bc5c4116: 0000 relocInfo@0x00007fd7bc5c4116 [type=0(none) addr=0x00007fd7bc5c4231 offset=0] @0x00007fd7bc5c4118: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dependencies: Dependency of type evol_method method = {method} {0x00007fd724411110} 'method' '()I' in 'compiler/whitebox/SimpleTestCaseHelper' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ExceptionHandlerTable (size = 0 bytes) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ImplicitExceptionTable is empty - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Recorded oops: #0: 0x0000000000000000 nullptr-oop #1: 0x000000011f02cff0 a 'jdk/internal/loader/ClassLoaders$AppClassLoader'{0x000000011f02cff0} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Recorded metadata: #0: 0x0000000000000000 nullptr-oop #1: 0x00007fd724411110 {method} {0x00007fd724411110} 'method' '()I' in 'compiler/whitebox/SimpleTestCaseHelper' - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - on exception 'expected[2] != actual[3]': private int compiler.whitebox.SimpleTestCaseHelper.method(): compilable: true compiled: true compile_id: 39 comp_level: 3 osr_compilable: true osr_compiled: false osr_comp_level: 0 in_queue: false compile_queues_size: 0 ------------------------------------------------------------------------ compiler.whitebox.SimpleTestCaseHelper::method()I interpreter_invocation_count: 600 invocation_counter: 600 backedge_counter: 15000 decompile_count: 0 mdo size: 376 bytes 0 bipush 42 2 ireturn ------------------------------------------------------------------------ Total MDO size: 376 bytes STDERR: java.lang.RuntimeException: expected[2] != actual[3] at compiler.tiered.CompLevelsTest.checkLevel(CompLevelsTest.java:76) at compiler.tiered.Level2RecompilationTest.checkLevel(Level2RecompilationTest.java:101) at compiler.tiered.Level2RecompilationTest.test(Level2RecompilationTest.java:80) at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:166) at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129) at compiler.tiered.Level2RecompilationTest.main(Level2RecompilationTest.java:54) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) java.lang.RuntimeException: expected[2] != actual[3] at compiler.tiered.CompLevelsTest.checkLevel(CompLevelsTest.java:76) at compiler.tiered.Level2RecompilationTest.checkLevel(Level2RecompilationTest.java:101) at compiler.tiered.Level2RecompilationTest.test(Level2RecompilationTest.java:80) at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:166) at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129) at compiler.tiered.Level2RecompilationTest.main(Level2RecompilationTest.java:54) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) JavaTest Message: Test threw exception: java.lang.RuntimeException: expected[2] != actual[3] JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: expected[2] != actual[3] rerun: cd /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/tiered/Level2RecompilationTest && \ DISPLAY=:7 \ HOME=/home/testUserForTone \ JTREG_VERSION=jtreg-7.4.1 \ LANG=C \ LC_CTYPE=C.UTF-8 \ LD_LIBRARY_PATH=/tmp/tone/run/jtreg/jdk-repo/build/tools/lib \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \ CLASSPATH=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/compiler/tiered/Level2RecompilationTest.d:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \ /tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk/bin/java \ -Dtest.vm.opts='-ea -esa' \ -Dtest.tool.vm.opts='-J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -Dcompile.jdk=/tmp/tone/run/jtreg/jdk-repo/build/linux-x86_64-server-fastdebug/images/jdk \ -Dtest.timeout.factor=10.0 \ -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.name=compiler/tiered/Level2RecompilationTest.java \ -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered/Level2RecompilationTest.java \ -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered \ -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/compiler/tiered:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \ -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/compiler/tiered/Level2RecompilationTest.d \ -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/compiler/tiered/Level2RecompilationTest.d:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0/test/lib:/tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/classes/0 \ -Dtest.modules='java.base/jdk.internal.misc java.management' \ --add-modules java.base,java.management \ --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \ -ea \ -esa \ -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \ -Xbootclasspath/a:. \ -XX:+TieredCompilation \ -XX:+UnlockDiagnosticVMOptions \ -XX:+WhiteBoxAPI \ -XX:CompileCommand=compileonly,compiler.whitebox.SimpleTestCaseHelper::* \ -XX:CompileCommand=print,compiler.whitebox.SimpleTestCaseHelper::* \ com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jtreg/hotspot_jtreg/compiler/tiered/Level2RecompilationTest.d/main.2.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: expected[2] != actual[3]