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

java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java occasionally fails on x64 platforms due to codecache too small

XMLWordPrintable

      This only seems to be happening with JDK10. Logfile output below:
      -------------------------------------
      Non-critical exception caught becuse of code cache size is not enough to run all test cases.

      java.lang.VirtualMachineError: Out of space in CodeCache for method handle intrinsic
      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 java.base/java.lang.Throwable.printStackTrace(Throwable.java:639)
      at com.oracle.testlibrary.jsr292.CodeCacheOverflowProcessor.runMHTest(CodeCacheOverflowProcessor.java:75)
      at LambdaFormTestCase$TestRun.doIteration(LambdaFormTestCase.java:124)
      at jdk.testlibrary.TimeLimitedRunner.call(TimeLimitedRunner.java:71)
      at LambdaFormTestCase.runTests(LambdaFormTestCase.java:193)
      at LFSingleThreadCachingTest.main(LFSingleThreadCachingTest.java:79)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:543)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.base/java.lang.Thread.run(Thread.java:844)
      FAILED. Caused by Out of space in CodeCache for adapters

            thartmann Tobias Hartmann
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: