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

java/lang/invoke/LFCaching/LFSingleThreadCachingTest seen failing: CodeCache is full.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • 9
    • hotspot

      STDOUT:
      -Dseed=1242395360773223342
      -DtestLimit=2000
      Number of iterations according to -DtestLimit is 117 (1989 cases)
      Number of iterations is set to 117 (1989 cases)
      CodeCache: size=131072Kb used=131071Kb max_used=131071Kb free=0Kb
       bounds [0x00007f40ecc37000, 0x00007f40f4c37000, 0x00007f40f4c37000]
       total_blobs=55859 nmethods=13068 adapters=38736
       compilation: disabled (not enough contiguous free space left)
      STDERR:
      ...
      Tested LF caching feature with MethodHandles.exactInvoker method.
      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=

      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
      Tested LF caching feature with MethodHandles.spreadInvoker method.

      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 adapters
      at java.base/java.lang.invoke.MethodHandleNatives.resolve(Native Method)
      at java.base/java.lang.invoke.MemberName$Factory.resolve(MemberName.java:1042)
      at java.base/java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:1067)
      at java.base/java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1864)
      at java.base/java.lang.invoke.Invokers.invokeBasicMethod(Invokers.java:160)
      at java.base/java.lang.invoke.Invokers.basicInvoker(Invokers.java:89)
      at java.base/java.lang.invoke.LambdaForm$NamedFunction.<init>(LambdaForm.java:1100)
      at java.base/java.lang.invoke.LambdaForm$Name.<init>(LambdaForm.java:1351)
      at java.base/java.lang.invoke.Invokers.invokeHandleForm(Invokers.java:326)
      at java.base/java.lang.invoke.Invokers.makeExactOrGeneralInvoker(Invokers.java:122)
      at java.base/java.lang.invoke.Invokers.genericInvoker(Invokers.java:75)
      at java.base/java.lang.invoke.Invokers.spreadInvoker(Invokers.java:198)
      at java.base/java.lang.invoke.MethodHandles.spreadInvoker(MethodHandles.java:2742)
      at TestMethods$13.getMH(TestMethods.java:412)
      at TestMethods.getTestCaseMH(TestMethods.java:548)
      at LFSingleThreadCachingTest.doTest(LFSingleThreadCachingTest.java:65)
      at jdk.testlibrary.Utils.filterException(Utils.java:355)
      at com.oracle.testlibrary.jsr292.CodeCacheOverflowProcessor.runMHTest(CodeCacheOverflowProcessor.java:70)
      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)
      java.lang.Error: 1 of 1984 test cases FAILED!
      Rerun the test with the same "-Dseed=" option as in the log file!
      at LambdaFormTestCase$TestRun.checkPassed(LambdaFormTestCase.java:147)
      at LambdaFormTestCase.runTests(LambdaFormTestCase.java:198)
      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)

      JavaTest Message: Test threw exception: java.lang.Error: 1 of 1984 test cases FAILED!
      Rerun the test with the same "-Dseed=" option as in the log file!
      JavaTest Message: shutting down test

            thartmann Tobias Hartmann
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: