-
Bug
-
Resolution: Fixed
-
P2
-
8, 10, 11
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8203557 | 11.0.1 | Stefan Johansson | P2 | Resolved | Fixed | team |
JDK-8265641 | openjdk8u302 | Stefan Johansson | P2 | Resolved | Fixed | b01 |
JDK-8308282 | 8u391 | Daniel Skantz | P4 | Resolved | Fixed | b01 |
I hit this test failure 2 times in JPRT. I think the test should be run with -Xmx flag but I could be wrong.
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 19658702848 bytes for committing reserved memory.
# An error report file with more information is saved as:
# hotspot/testoutput/hotspot_tier1_gc_2/JTwork/scratch/3/hs_err_pid24731.log
];
stderr: [Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000ad400000, 19658702848, 0) failed; error='Resource unavailable, try again' (errno=11)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:380)
at TestAggressiveHeap.testFlag(TestAggressiveHeap.java:66)
at TestAggressiveHeap.main(TestAggressiveHeap.java:46)
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:564)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.base/java.lang.Thread.run(Thread.java:844)
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 19658702848 bytes for committing reserved memory.
# An error report file with more information is saved as:
# hotspot/testoutput/hotspot_tier1_gc_2/JTwork/scratch/3/hs_err_pid24731.log
];
stderr: [Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000ad400000, 19658702848, 0) failed; error='Resource unavailable, try again' (errno=11)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:380)
at TestAggressiveHeap.testFlag(TestAggressiveHeap.java:66)
at TestAggressiveHeap.main(TestAggressiveHeap.java:46)
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:564)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
at java.base/java.lang.Thread.run(Thread.java:844)
- backported by
-
JDK-8203557 gc/arguments/TestAggressiveHeap.java fails intermittently
- Resolved
-
JDK-8265641 gc/arguments/TestAggressiveHeap.java fails intermittently
- Resolved
-
JDK-8308282 gc/arguments/TestAggressiveHeap.java fails intermittently
- Resolved
- relates to
-
JDK-8202504 GC tests fail with "There is insufficient memory for the Java Runtime Environment to continue"
- Closed