I don't know why we did not see it on big SPARC machines.
For now I consider that it is test issue which specify incorrect NonNMethodCodeHeapSize value.
I got this failure running test on Knights Landing:
[0.018s][info][os,cpu] CPU:total 272 (initial active 272) (68 cores per cpu, 4 threads per core) family 6 model 87 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx, evex, fma
compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java test failed when executing subtest with next flags:
java -server -XX:-NeverActAsServerClassMachine -XX:+TieredCompilation -XX:TieredStopAtLevel=0 -XX:+PrintCodeCache -XX:-UseLargePages -XX:+SegmentedCodeCache -XX:ReservedCodeCacheSize=62914560 -XX:NonNMethodCodeHeapSize=20971520 -XX:NonProfiledCodeHeapSize=20971520 -XX:ProfiledCodeHeapSize=20971520 -version
Error occurred during initialization of VM
Not enough space in non-nmethod code heap to run VM: 20480K < 21475K
compiler/codecache/cli/codeheapsize/TestCodeHeapSizeOptions.java test failed the same way with next flags:
java -server -XX:-NeverActAsServerClassMachine -XX:+TieredCompilation -XX:TieredStopAtLevel=0 -XX:+SegmentedCodeCache -XX:ReservedCodeCacheSize=62914560 -XX:NonNMethodCodeHeapSize=20971520 -XX:NonProfiledCodeHeapSize=20971520 -XX:ProfiledCodeHeapSize=20971520 -XX:+PrintFlagsFinal -version
For now I consider that it is test issue which specify incorrect NonNMethodCodeHeapSize value.
I got this failure running test on Knights Landing:
[0.018s][info][os,cpu] CPU:total 272 (initial active 272) (68 cores per cpu, 4 threads per core) family 6 model 87 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx, evex, fma
compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java test failed when executing subtest with next flags:
java -server -XX:-NeverActAsServerClassMachine -XX:+TieredCompilation -XX:TieredStopAtLevel=0 -XX:+PrintCodeCache -XX:-UseLargePages -XX:+SegmentedCodeCache -XX:ReservedCodeCacheSize=62914560 -XX:NonNMethodCodeHeapSize=20971520 -XX:NonProfiledCodeHeapSize=20971520 -XX:ProfiledCodeHeapSize=20971520 -version
Error occurred during initialization of VM
Not enough space in non-nmethod code heap to run VM: 20480K < 21475K
compiler/codecache/cli/codeheapsize/TestCodeHeapSizeOptions.java test failed the same way with next flags:
java -server -XX:-NeverActAsServerClassMachine -XX:+TieredCompilation -XX:TieredStopAtLevel=0 -XX:+SegmentedCodeCache -XX:ReservedCodeCacheSize=62914560 -XX:NonNMethodCodeHeapSize=20971520 -XX:NonProfiledCodeHeapSize=20971520 -XX:ProfiledCodeHeapSize=20971520 -XX:+PrintFlagsFinal -version
- duplicates
-
JDK-8177899 Tests fail due to code cache exhaustion on machines with many cores
- Resolved