-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 21, 22
-
b20
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8333603 | 21.0.5-oracle | Kavya K S | P4 | Resolved | Fixed | b01 |
JDK-8338517 | 21.0.5 | Amos SHI | P4 | Resolved | Fixed | b04 |
JDK-8344619 | 17.0.14 | Goetz Lindenmaier | P4 | Resolved | Fixed | b05 |
JDK-8333836 | 17.0.13-oracle | Kavya K S | P4 | Resolved | Fixed | b01 |
JDK-8334200 | 11.0.25-oracle | Kavya K S | P4 | Resolved | Fixed | b01 |
compiler/codecache/CodeCacheFullCountTest.java
Here's a snippet from the log file:
#section:main
----------messages:(7/247)----------
command: main CodeCacheFullCountTest
reason: Assumed action based on file name: run main CodeCacheFullCountTest
started: Mon Oct 09 12:10:34 GMT 2023
Mode: agentvm
Agent id: 8
finished: Mon Oct 09 12:10:50 GMT 2023
elapsed time (seconds): 15.803
----------configuration:(14/2014)----------
<snip>
----------System.out:(11/3057)----------
Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+19-1441/macosx-aarch64-debug.jdk/jdk-22/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/afbc6042-3a24-4198-9369-18c663a3f74c-S3110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e063eb69-0fc3-4587-b989-5350bbf52a25/runs/d534d311-7675-401f-a8bc-13189b6d446c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_2/classes/0/compiler/codecache/CodeCacheFullCountTest.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+19-1441/src.full/open/test/hotspot/jtreg/compiler/codecache:/System/Volumes/Data/mesos/work_dir/slaves/afbc6042-3a24-4198-9369-18c663a3f74c-S3110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e063eb69-0fc3-4587-b989-5350bbf52a25/runs/d534d311-7675-401f-a8bc-13189b6d446c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_2/classes/0/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/junit-platform-console-standalone-1.9.2.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/testng-7.3.0.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jcommander-1.82.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/guice-5.1.0.jar -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/21/35/bundles/macos-aarch64/jdk-21_macos-aarch64_bin.tar.gz/jdk-21.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/afbc6042-3a24-4198-9369-18c663a3f74c-S3110/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e063eb69-0fc3-4587-b989-5350bbf52a25/runs/d534d311-7675-401f-a8bc-13189b6d446c/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_compiler_2/tmp -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:-DoEscapeAnalysis -XX:ReservedCodeCacheSize=2496k -XX:-UseCodeCacheFlushing -XX:-MethodFlushing CodeCacheFullCountTest WasteCodeCache ]
[2023-10-09T12:10:49.054214Z] Gathering output for process 9336
[2023-10-09T12:10:50.274942Z] Waiting for completion for process 9336
[2023-10-09T12:10:50.287819Z] Waiting for completion finished for process 9336
Output and diagnostic info for process 9336 was saved into 'pid-9336-output.log'
[2023-10-09T12:10:50.440975Z] Waiting for completion for process 9336
[2023-10-09T12:10:50.441008Z] Waiting for completion finished for process 9336
[2023-10-09T12:10:50.443576Z] Waiting for completion for process 9336
[2023-10-09T12:10:50.443606Z] Waiting for completion finished for process 9336
[2023-10-09T12:10:50.535468Z] Waiting for completion for process 9336
[2023-10-09T12:10:50.535509Z] Waiting for completion finished for process 9336
----------System.err:(29/1639)----------
stdout: [[1.437s][warning][codecache] CodeCache is full. Compiler has been disabled.
[1.437s][warning][codecache] Try increasing the code cache size using -XX:ReservedCodeCacheSize=
CodeCache: size=2496Kb used=2463Kb max_used=2472Kb free=32Kb
bounds [0x000000010225c000, 0x00000001024cc000, 0x00000001024cc000]
total_blobs=1214 nmethods=537 adapters=628
compilation: disabled (not enough contiguous free space left)
stopped_count=0, restarted_count=0
full_count=1
];
stderr: [Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
Java HotSpot(TM) 64-Bit Server VM warning: C2 initialization failed. Shutting down all compilers
Exception in thread "main" java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
Exception: java.lang.VirtualMachineError thrown from the UncaughtExceptionHandler in thread "main"
]
exitValue = 1
java.lang.RuntimeException: VM finished with exit code 1
at CodeCacheFullCountTest.runTest(CodeCacheFullCountTest.java:72)
at CodeCacheFullCountTest.main(CodeCacheFullCountTest.java:44)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: VM finished with exit code 1
- backported by
-
JDK-8333603 CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
- Resolved
-
JDK-8333836 CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
- Resolved
-
JDK-8334200 CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
- Resolved
-
JDK-8338517 CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
- Resolved
-
JDK-8344619 CodeCacheFullCountTest failed with "VirtualMachineError: Out of space in CodeCache for method handle intrinsic"
- Resolved
- relates to
-
JDK-8315576 compiler/codecache/CodeCacheFullCountTest.java fails after JDK-8314837
- Resolved
- links to
-
Commit openjdk/jdk/0fd80711
-
Commit(master) openjdk/jdk17u-dev/b88676dc
-
Commit(master) openjdk/jdk21u-dev/9b331b0c
-
Review openjdk/jdk/16113
-
Review(master) openjdk/jdk17u-dev/2824
-
Review(master) openjdk/jdk17u-dev/3054
-
Review(master) openjdk/jdk21u-dev/904