JDK-8269555 : Stress tests fail with "Out of space in CodeCache" when executed with C1 only
  • Type: Bug
  • Component: hotspot
  • Sub-Component: test
  • Affected Version: 17
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2021-06-29
  • Updated: 2024-08-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Comments
Seems that crash is caused by same problem: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f38b20b01c4, pid=810006, tid=820484 # # JRE version: Java(TM) SE Runtime Environment (17.0+26) (build 17-ea+26-LTS-2439) # Java VM: Java HotSpot(TM) 64-Bit Server VM (17-ea+26-LTS-2439, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64) # Problematic frame: # V [libjvm.so+0xb6b1c4] Method::get_c2i_entry()+0x4 # # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S93425/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/301154b0-e5a6-4b52-b386-0a83a385fcb2/runs/196c11f3-7263-4976-b61f-4489ab2bb8c8/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/core.810006) # # JFR recording file will be written. Location: /opt/mach5/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S93425/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/301154b0-e5a6-4b52-b386-0a83a385fcb2/runs/196c11f3-7263-4976-b61f-4489ab2bb8c8/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/hs_err_pid810006.jfr # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # --------------- S U M M A R Y ------------ Command Line: -Xbootclasspath/a:/opt/mach5/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S93425/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/301154b0-e5a6-4b52-b386-0a83a385fcb2/runs/196c11f3-7263-4976-b61f-4489ab2bb8c8/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/wb.jar -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Djava.security.manager=allow -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S93425/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/301154b0-e5a6-4b52-b386-0a83a385fcb2/runs/196c11f3-7263-4976-b61f-4489ab2bb8c8/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/tmp -Xcomp -XX:+CreateCoredumpOnCrash -XX:TieredStopAtLevel=2 -XX:MaxRAMPercentage=50 -Djava.net.preferIPv6Addresses=false -XX:+DisplayVMOutputToStderr -Xlog:gc*,gc+heap=debug:gc.log:uptime,timemillis,level,tags -XX:+DisableExplicitGC -XX:+StartAttachListener -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S93425/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/301154b0-e5a6-4b52-b386-0a83a385fcb2/runs/196c11f3-7263-4976-b61f-4489ab2bb8c8/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/java.io.tmpdir -Duser.home=/opt/mach5/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S93425/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/301154b0-e5a6-4b52-b386-0a83a385fcb2/runs/196c11f3-7263-4976-b61f-4489ab2bb8c8/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/user.home -agentpath:/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+26-2439/linux-x64.test/hotspot/jtreg/native/libJvmtiStressModule.so -XX:NativeMemoryTracking=detail -Djdk.test.lib.random.seed=8872877327547036430 applications.kitchensink.process.stress.Main /opt/mach5/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S93425/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/301154b0-e5a6-4b52-b386-0a83a385fcb2/runs/196c11f3-7263-4976-b61f-4489ab2bb8c8/testoutput/test-support/jtreg_closed_test_hotspot_jtreg_applications_runthese_RunThese30M_java/scratch/0/kitchensink.final.properties Host: AMD EPYC 7J13 64-Core Processor, 8 cores, 30G, Oracle Linux Server release 8.3 Time: Sun Jun 13 07:57:02 2021 UTC elapsed time: 109.150375 seconds (0d 0h 1m 49s) --------------- T H R E A D --------------- Current thread (0x00007f37d419f0c0): JavaThread "javasoft.sqe.tests.api.java.math.BigDecimal.MultipleTests " daemon [_thread_in_vm, id=820484, stack(0x00007f376e9ee000,0x00007f376eaef000)] Stack: [0x00007f376e9ee000,0x00007f376eaef000], sp=0x00007f376eae8a08, free space=1002k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0xb6b1c4] Method::get_c2i_entry()+0x4 V [libjvm.so+0xc94f67] SharedRuntime::resolve_sub_helper_internal(methodHandle, frame const&, CompiledMethod*, bool, bool, Handle, CallInfo&, Bytecodes::Code, JavaThread*)+0x167 V [libjvm.so+0xc9ac83] SharedRuntime::resolve_sub_helper(bool, bool, JavaThread*)+0x353 V [libjvm.so+0xc9ad67] SharedRuntime::resolve_helper(bool, bool, JavaThread*)+0x37 V [libjvm.so+0xc9ae89] SharedRuntime::resolve_static_call_C(JavaThread*)+0x39 v ~RuntimeStub::resolve_static_call J 53456 c1 java.math.BigDecimal.multiplyAndRound(JJILjava/math/MathContext;)Ljava/math/BigDecimal; java.base@17-ea (280 bytes) @ 0x00007f38a1184ee4 [0x00007f38a1184c80+0x0000000000000264] J 36310 c1 java.math.BigDecimal.multiply(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal; java.base@17-ea (118 bytes) @ 0x00007f38a376de3c [0x00007f38a376dc60+0x00000000000001dc] j java.math.BigDecimal.pow(ILjava/math/MathContext;)Ljava/math/BigDecimal;+171 java.base@17-ea J 53445 c1 javasoft.sqe.tests.api.java.math.BigDecimal.DecTestLine.interpret()I (2431 bytes) @ 0x00007f38a26cef6c [0x00007f38a26cb5e0+0x000000000000398c] j javasoft.sqe.tests.api.java.math.BigDecimal.DecTestFile.run()I+78 j javasoft.sqe.tests.api.java.math.BigDecimal.MultipleTests.BigDecimal0074()Ljavasoft/sqe/javatest/Status;+31 v ~StubRoutines::call_stub V [libjvm.so+0x7ef505] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x315 V [libjvm.so+0xc68e91] invoke(InstanceKlass*, methodHandle const&, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, JavaThread*) [clone .constprop.0]+0x511 V [libjvm.so+0xc69e07] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, JavaThread*)+0x157 V [libjvm.so+0x8c571b] JVM_InvokeMethod+0x18b J 1608 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (0 bytes) @ 0x00007f38a139d838 [0x00007f38a139d740+0x00000000000000f8] J 5957 c1 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (137 bytes) @ 0x00007f38a19f5214 [0x00007f38a19f4f20+0x00000000000002f4] J 5956 c1 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (10 bytes) @ 0x00007f38a19f5f44 [0x00007f38a19f5ec0+0x0000000000000084] J 6158 c1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (65 bytes) @ 0x00007f38a15774a4 [0x00007f38a1577360+0x0000000000000144] j javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(Ljava/lang/reflect/Method;)Ljavasoft/sqe/javatest/Status;+8 j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintWriter;Ljava/io/PrintWriter;)Ljavasoft/sqe/javatest/Status;+139 j javasoft.sqe.javatest.lib.MultiTest.run([Ljava/lang/String;Ljava/io/PrintStream;Ljava/io/PrintStream;)Ljavasoft/sqe/javatest/Status;+40 j javasoft.sqe.tests.api.java.math.BigDecimal.MultipleTests.main([Ljava/lang/String;)V+16 v ~StubRoutines::call_stub V [libjvm.so+0x7ef505] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x315 V [libjvm.so+0xc68e91] invoke(InstanceKlass*, methodHandle const&, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, JavaThread*) [clone .constprop.0]+0x511 V [libjvm.so+0xc69e07] Reflection::invoke_method(oopDesc*, Handle, objArrayHandle, JavaThread*)+0x157 V [libjvm.so+0x8c571b] JVM_InvokeMethod+0x18b J 1608 jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (0 bytes) @ 0x00007f38a139d838 [0x00007f38a139d740+0x00000000000000f8] J 5957 c1 jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (137 bytes) @ 0x00007f38a19f5214 [0x00007f38a19f4f20+0x00000000000002f4] J 5956 c1 jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (10 bytes) @ 0x00007f38a19f5f44 [0x00007f38a19f5ec0+0x0000000000000084] J 6158 c1 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; java.base@17-ea (65 bytes) @ 0x00007f38a15774a4 [0x00007f38a1577360+0x0000000000000144] j applications.kitchensink.process.stress.modules.JckStressModule$TestRunner$1.run()V+9 v ~StubRoutines::call_stub V [libjvm.so+0x7ef505] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x315 V [libjvm.so+0x7f0cfb] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x1cb V [libjvm.so+0x8b78b3] thread_entry(JavaThread*, JavaThread*)+0xa3 V [libjvm.so+0xd85bf0] JavaThread::thread_main_inner()+0xd0 V [libjvm.so+0xd8920e] Thread::call_run()+0xde V [libjvm.so+0xbe0381] thread_native_entry(Thread*)+0xe1
29-06-2021