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

compiler/profiling/spectrapredefineclass/Launcher.java fails due to code cache exhaustion

    Details

      Description

      The test hotspot/test/compiler/profiling/spectrapredefineclass/Launcher.java is ran with the flag -XX:ReservedCodeCacheSize-=3M but fails due to too small code cache:

      ----------System.out:(4/237)----------
      CodeCache: size=3072Kb used=3039Kb max_used=3039Kb free=32Kb
       bounds [0xffff80ffb3400000, 0xffff80ffb3700000, 0xffff80ffb3700000]
       total_blobs=4215 nmethods=373 adapters=829
       compilation: disabled (not enough contiguous free space left)
      ----------System.err:(10/796)----------
      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.lang.VirtualMachineError: Out of space in CodeCache for adapters
      java.lang.VirtualMachineError: Out of space in CodeCache for adapters
      at java.base/java.lang.Throwable.getOurStackTrace(Throwable.java:828)
      at java.base/java.lang.Throwable.printStackTrace(Throwable.java:660)
      at java.base/java.lang.Throwable.printStackTrace(Throwable.java:648)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:118)
      at java.base/java.lang.Thread.run(Thread.java:844)
      STATUS:Failed.`main' threw exception: java.lang.VirtualMachineError: Out of space in CodeCache for adapters

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iignatyev Igor Ignatyev
                Reporter:
                jwilhelm Jesper Wilhelmsson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: