-
Bug
-
Resolution: Fixed
-
P4
-
22
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8322554 | 22.0.1 | Jorn Vernee | P4 | Resolved | Fixed | b02 |
JDK-8322010 | 22 | Jorn Vernee | P4 | Resolved | Fixed | b29 |
$ CONF=linux-x86_64-server-fastdebug make test TEST=java/foreign/TestStubAllocFailure.java
[0.149s][warning][codecache] CodeCache is full. Compiler has been disabled.
[0.149s][warning][codecache] Try increasing the code cache size using -XX:ReservedCodeCacheSize=
CodeCache: size=3072Kb used=3071Kb max_used=3071Kb free=0Kb
bounds [0x00007fb8b9548000, 0x00007fb8b9848000, 0x00007fb8b9848000]
total_blobs=766 nmethods=24 adapters=655
compilation: disabled (not enough contiguous free space left)
stopped_count=1, restarted_count=0
full_count=1
test TestStubAllocFailure.testUpcallAllocFailure(): failure
java.lang.AssertionError: expected [0] but found [1]
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertEqualsImpl(Assert.java:140)
at org.testng.Assert.assertEquals(Assert.java:122)
at org.testng.Assert.assertEquals(Assert.java:907)
at org.testng.Assert.assertEquals(Assert.java:917)
at UpcallTestHelper$Output.assertSuccess(UpcallTestHelper.java:52)
at TestStubAllocFailure.testUpcallAllocFailure(TestStubAllocFailure.java:47)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
===============================================
java/foreign/TestStubAllocFailure.java
Total tests run: 1, Passes: 0, Failures: 1, Skips: 0
===============================================
STDERR:
OpenJDK 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
OpenJDK 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.VirtualMachineError: Out of space in CodeCache for adapters
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:104)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:58)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1570)
- backported by
-
JDK-8322010 java/foreign/TestStubAllocFailure.java fails with code cache exhaustion
- Resolved
-
JDK-8322554 java/foreign/TestStubAllocFailure.java fails with code cache exhaustion
- Resolved
- relates to
-
JDK-8322988 Test java/foreign/TestStubAllocFailure.java still fails with code cache exhaustion
- Closed
-
JDK-8318586 Explicitly handle upcall stub allocation failure
- Resolved
-
JDK-8322324 java/foreign/TestStubAllocFailure.java times out while waiting for forked process
- Closed
- links to
-
Commit openjdk/jdk22/d62249a3
-
Commit openjdk/jdk/7ece9e90
-
Review openjdk/jdk22/11
-
Review openjdk/jdk/17056