RFR: 8339678: Update runtime/condy tests to be executed with VM flags

Leonid Mesnik lmesnik at openjdk.org
Fri Sep 6 19:25:23 UTC 2024


On Fri, 6 Sep 2024 17:54:07 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> 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 (...

I filed bug and problemlisted failing test.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20894#issuecomment-2334677125


More information about the hotspot-runtime-dev mailing list