Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8212727

[TESTBUG] TestPrintCodeCacheOption.java failed on machine with a lot CPUs

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                thartmann Tobias Hartmann
                Reporter:
                kvn Vladimir Kozlov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: