-
Bug
-
Resolution: Duplicate
-
P4
-
26
-
+ uname -a
Linux ubuntu22 5.15.0-25-generic #25 SMP Tue Mar 19 10:52:48 CST 2024 x86_64 x86_64 x86_64 GNU/Linux
+ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
+ free -h
total used free shared buff/cache available
Mem: 755Gi 14Gi 659Gi 40Mi 80Gi 731Gi
Swap: 8.0Gi 149Mi 7.9Gi
+ lscpu
+ head -n 25
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 256
On-line CPU(s) list: 0-255
Vendor ID: HygonGenuine
Model name: Hygon C86 7490 64-core Processor
CPU family: 24
Model: 4
Thread(s) per core: 2
Core(s) per socket: 64
Socket(s): 2
Stepping: 0
Frequency boost: enabled
CPU max MHz: 2700.0000
CPU min MHz: 1600.0000
BogoMIPS: 5399.94
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid amd_dcm aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip overflow_recov succor smca
Virtualization: AMD-V
L1d cache: 4 MiB (128 instances)
L1i cache: 4 MiB (128 instances)
L2 cache: 64 MiB (128 instances)
L3 cache: 512 MiB (32 instances)
NUMA node(s): 8
+ ldd --version
ldd (Ubuntu GLIBC 2.35-0ubuntu3) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
+ java -version
openjdk version "26-internal" 2026-03-17
OpenJDK Runtime Environment (build 26-internal-9aeacf2d)
OpenJDK 64-Bit Server VM (build 26-internal-9aeacf2d, mixed mode, sharing)
+ java -Xinternalversion
OpenJDK 64-Bit Server VM (26-internal-9aeacf2d) for linux-amd64 JRE (26-internal-9aeacf2d), built on 2025-06-16T12:12:19Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11)
+ git remote -v
origin git@github.com:openjdk/jdk.git (fetch)
origin git@github.com:openjdk/jdk.git (push)
+ git log -n 1
+ head -n 1
commit 9aeacf2de5bb8758dd614da365262338b0d26d6f+ uname -a Linux ubuntu22 5.15.0-25-generic #25 SMP Tue Mar 19 10:52:48 CST 2024 x86_64 x86_64 x86_64 GNU/Linux + cat /etc/os-release PRETTY_NAME="Ubuntu 22.04 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04 (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy + free -h total used free shared buff/cache available Mem: 755Gi 14Gi 659Gi 40Mi 80Gi 731Gi Swap: 8.0Gi 149Mi 7.9Gi + lscpu + head -n 25 Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Address sizes: 48 bits physical, 48 bits virtual Byte Order: Little Endian CPU(s): 256 On-line CPU(s) list: 0-255 Vendor ID: HygonGenuine Model name: Hygon C86 7490 64-core Processor CPU family: 24 Model: 4 Thread(s) per core: 2 Core(s) per socket: 64 Socket(s): 2 Stepping: 0 Frequency boost: enabled CPU max MHz: 2700.0000 CPU min MHz: 1600.0000 BogoMIPS: 5399.94 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid amd_dcm aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 cqm rdt_a rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip overflow_recov succor smca Virtualization: AMD-V L1d cache: 4 MiB (128 instances) L1i cache: 4 MiB (128 instances) L2 cache: 64 MiB (128 instances) L3 cache: 512 MiB (32 instances) NUMA node(s): 8 + ldd --version ldd (Ubuntu GLIBC 2.35-0ubuntu3) 2.35 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. + java -version openjdk version "26-internal" 2026-03-17 OpenJDK Runtime Environment (build 26-internal-9aeacf2d) OpenJDK 64-Bit Server VM (build 26-internal-9aeacf2d, mixed mode, sharing) + java -Xinternalversion OpenJDK 64-Bit Server VM (26-internal-9aeacf2d) for linux-amd64 JRE (26-internal-9aeacf2d), built on 2025-06-16T12:12:19Z with gcc 10.2.1 20210130 (Red Hat 10.2.1-11) + git remote -v origin git@github.com:openjdk/jdk.git (fetch) origin git@github.com:openjdk/jdk.git (push) + git log -n 1 + head -n 1 commit 9aeacf2de5bb8758dd614da365262338b0d26d6f
[12:34:0.618] ### TRACE 1: RNG seed = -8122678525390917479 (0x8f4672eabd617099)
For random generator using seed: -8122678525390917479
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-8122678525390917479" to command line.
[38.571s][warning][codecache] CodeCache is full. Compiler has been disabled.
[38.571s][warning][codecache] Try increasing the code cache size using -XX:ReservedCodeCacheSize=
CodeCache: size=102400Kb used=102400Kb max_used=102400Kb free=0Kb
bounds [0x00007fb585121000, 0x00007fb58b521000, 0x00007fb58b521000]
total_blobs=96739, nmethods=44268, adapters=52369, full_count=4
Compilation: disabled (not enough contiguous free space left), stopped_count=1, restarted_count=0
[12:34:38.643] # ERROR: Caught exception in Thread[#702,Thread-533,5,MainThreadGroup]
[12:34:38.644] # ERROR: java.lang.OutOfMemoryError: Out of space in CodeCache for method handle intrinsic
[12:34:38.646] # ERROR: at java.base/java.lang.invoke.BoundMethodHandle$Species_LLIIIIIJLLJLLIILI.copyWithExtendL(BoundMethodHandle$Species_LLIIIIIJLLJLLIILI)
[12:34:38.647] # ERROR: at java.base/java.lang.invoke.LambdaFormEditor.bindArgumentL(LambdaFormEditor.java:524)
[12:34:38.649] # ERROR: at java.base/java.lang.invoke.BoundMethodHandle.bindArgumentL(BoundMethodHandle.java:104)
[12:34:38.650] # ERROR: at java.base/java.lang.invoke.MethodHandles.insertArguments(MethodHandles.java:4988)
[12:34:38.651] # ERROR: at vm.mlvm.meth.share.transform.v2.MHInsertTF.computeInboundMH(MHInsertTF.java:69)
[12:34:38.652] # ERROR: at vm.mlvm.meth.share.transform.v2.MHBasicUnaryTF.computeInboundMH(MHBasicUnaryTF.java:56)
[12:34:38.654] # ERROR: at vm.mlvm.meth.share.transform.v2.MHPrimitiveTF.computeInboundCall(MHPrimitiveTF.java:38)
[12:34:38.655] # ERROR: at vm.mlvm.meth.share.transform.v2.MHMacroTF.addTransformation(MHMacroTF.java:70)
[12:34:38.656] # ERROR: at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:471)
[12:34:38.657] # ERROR: at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
[12:34:38.658] # ERROR: at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
[12:34:38.659] # ERROR: at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
[12:34:38.660] # ERROR: at java.base/java.lang.Thread.run(Thread.java:1474)
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Caught exception in Thread[#702,Thread-533,5,MainThreadGroup] java.lang.OutOfMemoryError: Out of space in CodeCache for method handle intrinsic
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:309)
at nsk.share.Log.complain(Log.java:280)
at nsk.share.Log.complain(Log.java:291)
at vm.mlvm.share.Env.complain(Env.java:172)
at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:78)
at java.base/java.lang.Thread.run(Thread.java:1474)
......
[12:34:39.187] # ERROR: Thread Thread[#978,Thread-809,5,MainThreadGroup] failed
[12:34:39.188] # ERROR: Failed runs: 1 of 1
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Failed runs: 1 of 1
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:309)
at nsk.share.Log.complain(Log.java:280)
at vm.mlvm.share.Env.complain(Env.java:164)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:424)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:343)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:247)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:190)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:161)
at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:325)
at vm.mlvm.meth.stress.compiler.deoptimize.Test.main(Test.java:170)
- duplicates
-
JDK-8354727 CompilationPolicy creates too many compiler threads when code cache space is scarce
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/25888