RFR: 8339678: Update runtime/condy tests to be executed with VM flags
Leonid Mesnik
lmesnik at openjdk.org
Fri Sep 6 17:59:42 UTC 2024
The tests updated to accept VM flags.
The test runtime.condy.TestEscapeThroughInvokeWithCondy crashes with -Xcomp
I plan to file bug after integration of this PR once it could be reproduced with jdk/jdk.
The hs_err for info only.
1 │ #
2 │ # A fatal error has been detected by the Java Runtime Environment:
3 │ #
4 │ # Internal Error (/home/lmesnik/ws/jdk-condy/open/src/hotspot/share/ci/ciTypeFlow.hpp:346), pid=3173079, tid=3173094
5 │ # assert(array->is_type_array_klass()) failed: must be prim array type
6 │ #
7 │ # JRE version: Java(TM) SE Runtime Environment (24.0) (fastdebug build 24-internal-2024-09-06-1651329.lmesnik.jdk-condy)
8 │ # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 24-internal-2024-09-06-1651329.lmesnik.jdk-condy, compiled mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
9 │ # Problematic frame:
10 │ # V [libjvm.so+0x93c334] ciTypeFlow::StateVector::pop_typeArray() [clone .isra.0]+0xc4
11 │ #
12 │ # Core dump will be written. Default location: /home/lmesnik/ws/jdk-condy/build/linux-x64/test-support/jtreg_open_test_hotspot_jtreg_runtime_condy/scratch/0/core.3173079
13 │ #
14 │ # If you would like to submit a bug report, please visit:
15 │ # https://bugreport.java.com/bugreport/crash.jsp
16 │ #
17 │
18 │ --------------- S U M M A R Y ------------
19 │
20 │ Command Line: -XX:MaxRAMPercentage=1.25 -Dtest.boot.jdk=/var/tmp/jib-lmesnik/install/jdk/22/36/bundles/linux-x64/jdk-22_linux-x64_bin.tar.gz/jdk-22 -Djava.io.tmpdir=/home/lmesnik/ws/jdk-condy/build/linux-x64/test-support/jtreg_open_test_hotspot_jtreg_runtime_condy/tmp -Xco
│ mp -XX:CompileCommand=dontinline,runtime.condy.TestEscapeThroughInvokeWithCondy::create -Dtest.thread.factory=Virtual jdk.test.lib.process.ProcessTools Virtual runtime.condy.TestEscapeThroughInvokeWithCondy
21 │
22 │ Host: Intel(R) Xeon(R) Silver 4114T CPU @ 2.20GHz, 40 cores, 62G, Ubuntu 22.04.4 LTS
23 │ Time: Fri Sep 6 10:09:15 2024 PDT elapsed time: 58.116228 seconds (0d 0h 0m 58s)
24 │
25 │ --------------- T H R E A D ---------------
26 │
27 │ Current thread (0x000071f0145ae710): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=3173094, stack(0x000071eff3700000,0x000071eff3800000) (1024K)]
28 │
29 │
30 │ Current CompileTask:
31 │ C2:58116 7016 b 4 runtime.condy.TestEscapeThroughInvokeWithCondy::create (27 bytes)
32 │
33 │ Stack: [0x000071eff3700000,0x000071eff3800000], sp=0x000071eff37fc690, free space=1009k
34 │ Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
35 │ V [libjvm.so+0x93c334] ciTypeFlow::StateVector::pop_typeArray() [clone .isra.0]+0xc4 (ciTypeFlow.hpp:346)
36 │ V [libjvm.so+0x941608] ciTypeFlow::StateVector::apply_one_bytecode(ciBytecodeStream*)+0x238 (ciTypeFlow.cpp:971)
37 │ V [libjvm.so+0x945d90] ciTypeFlow::flow_block(ciTypeFlow::Block*, ciTypeFlow::StateVector*, ciTypeFlow::JsrSet*)+0x1e0 (ciTypeFlow.cpp:2428)
38 │ V [libjvm.so+0x947499] ciTypeFlow::df_flow_types(ciTypeFlow::Block*, bool, ciTypeFlow::StateVector*, ciTypeFlow::JsrSet*)+0x449 (ciTypeFlow.cpp:2843)
39 │ V [libjvm.so+0x947943] ciTypeFlow::flow_types()+0x263 (ciTypeFlow.cpp:2893)
40 │ V [libjvm.so+0x948ea6] ciTypeFlow::do_flow()+0x26 (ciTypeFlow.cpp:3054)
41 │ V [libjvm.so+0x8f0574] ciMethod::get_flow_analysis()+0x64 (ciMethod.cpp:330)
42 │ V [libjvm.so+0x70805b] InlineTree::check_can_parse(ciMethod*)+0x5b (bytecodeInfo.cpp:532)
43 │ V [libjvm.so+0x855238] CallGenerator::for_inline(ciMethod*, float)+0x18 (callGenerator.cpp:293)
44 │ V [libjvm.so+0xa002bb] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x147b (compile.cpp:776)
45 │ V [libjvm.so+0x84feb5] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1d5 (c2compiler.cpp:142)
46 │ V [libjvm.so+0xa0c648] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x928 (compileBroker.cpp:2303)
47 │ V [libjvm.so+0xa0d2d8] CompileBroker::compiler_thread_loop()+0x478 (compileBroker.cpp:1961)
48 │ V [libjvm.so+0xeb3cec] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:758)
49 │ V [libjvm.so+0x17e0db6] Thread::call_run()+0xb6 (thread.cpp:225)
50 │ V [libjvm.so+0x14c9f87] thread_native_entry(Thread*)+0x127 (os_linux.cpp:858)
51 │ Registers:
-------------
Commit messages:
- 8339678: Update runtime/condy tests to be executed with VM flags
Changes: https://git.openjdk.org/jdk/pull/20894/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20894&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8339678
Stats: 19 lines in 5 files changed: 0 ins; 6 del; 13 mod
Patch: https://git.openjdk.org/jdk/pull/20894.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20894/head:pull/20894
PR: https://git.openjdk.org/jdk/pull/20894
More information about the hotspot-runtime-dev
mailing list