-
Bug
-
Resolution: Fixed
-
P2
-
8u40, 9
-
b36
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085065 | emb-9 | Konstantin Shefov | P2 | Resolved | Fixed | team |
JDK-8063921 | 8u45 | Konstantin Shefov | P2 | Resolved | Fixed | b01 |
JDK-8061226 | 8u40 | Konstantin Shefov | P2 | Closed | Fixed | b12 |
JDK-8070004 | emb-8u47 | Konstantin Shefov | P2 | Resolved | Fixed | team |
TESTFAIL:java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java
After
java.lang.VirtualMachineError: out of space in CodeCache for adapters
From the log:
----------System.out:(6/265)----------
-Dseed=4103170949823617197
-DtestLimit=2000
CodeCache: size=32768Kb used=32284Kb max_used=32284Kb free=483Kb
bounds [0x40f28000, 0x42eb0000, 0x42f28000]
total_blobs=16753 nmethods=6199 adapters=10485
compilation: disabled (not enough contiguous free space left)
----------System.err:(1791/90864)----------
...
Tested LF caching feature with MethodHandles.guardWithTest method.
java.lang.VirtualMachineError: out of space in CodeCache for adapters
at sun.misc.Unsafe.defineAnonymousClass(Native Method)
at java.lang.invoke.InvokerBytecodeGenerator.loadAndInitializeInvokerClass(InvokerBytecodeGenerator.java:282)
at java.lang.invoke.InvokerBytecodeGenerator.loadMethod(InvokerBytecodeGenerator.java:274)
at java.lang.invoke.InvokerBytecodeGenerator.generateLambdaFormInterpreterEntryPoint(InvokerBytecodeGenerator.java:1282)
at java.lang.invoke.LambdaForm.getPreparedForm(LambdaForm.java:674)
at java.lang.invoke.LambdaForm.prepare(LambdaForm.java:599)
at java.lang.invoke.MethodHandle.<init>(MethodHandle.java:459)
at java.lang.invoke.BoundMethodHandle.<init>(BoundMethodHandle.java:56)
at java.lang.invoke.BoundMethodHandle$Species_I.<init>(Species_I)
at java.lang.invoke.BoundMethodHandle$Species_I.copyWith(Species_I)
at java.lang.invoke.MethodHandles.dropArguments(MethodHandles.java:2513)
at com.oracle.testlibrary.jsr292.Helper.addTrailingArgs(Helper.java:172)
at TestMethods.methodHandleGenerator(TestMethods.java:644)
at TestMethods.access$200(TestMethods.java:41)
at TestMethods$9.getMH(TestMethods.java:319)
at TestMethods.getTestCaseMH(TestMethods.java:541)
at LFSingleThreadCachingTest.doTest(LFSingleThreadCachingTest.java:62)
at LambdaFormTestCase.runTests(LambdaFormTestCase.java:98)
at LFSingleThreadCachingTest.main(LFSingleThreadCachingTest.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
...
STATUS:Failed.`main' threw exception: java.lang.Error: 794 of 1989 test cases FAILED! Rerun the test with the same "-Dseed=" option as in the log file!
- backported by
-
JDK-8063921 [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java and LFMultiThreadCachingTest.java failed on some platforms due to java.lang.VirtualMachineError
-
- Resolved
-
-
JDK-8070004 [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java and LFMultiThreadCachingTest.java failed on some platforms due to java.lang.VirtualMachineError
-
- Resolved
-
-
JDK-8085065 [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java and LFMultiThreadCachingTest.java failed on some platforms due to java.lang.VirtualMachineError
-
- Resolved
-
-
JDK-8061226 [TESTBUG] java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java and LFMultiThreadCachingTest.java failed on some platforms due to java.lang.VirtualMachineError
-
- Closed
-
- relates to
-
JDK-8058536 java/lang/instrument/NativeMethodPrefixAgent.java fails due to VirtualMachineError: out of space in CodeCache for method handle intrinsic
-
- Closed
-