-
Bug
-
Resolution: Duplicate
-
P3
-
10
gc/stress/gclocker/TestGCLockerWithG1.java: fails with OOME Java heap space
Failures seen on Linux hosts only so far.
The log tail:
...
[11.528s][info][gc,start ] GC(43) Pause Young (G1 Evacuation Pause)
[11.528s][info][gc,task ] GC(43) Using 2 workers of 2 for evacuation
[11.530s][info][gc,phases ] GC(43) Pre Evacuate Collection Set: 0.3ms
[11.530s][info][gc,phases ] GC(43) Evacuate Collection Set: 1.2ms
[11.530s][info][gc,phases ] GC(43) Post Evacuate Collection Set: 0.2ms
[11.530s][info][gc,phases ] GC(43) Other: 0.1ms
[11.530s][info][gc,heap ] GC(43) Eden regions: 0->0(75)
[11.530s][info][gc,heap ] GC(43) Survivor regions: 0->0(10)
[11.530s][info][gc,heap ] GC(43) Old regions: 744->744
[11.530s][info][gc,heap ] GC(43) Humongous regions: 756->756
[11.530s][info][gc,metaspace ] GC(43) Metaspace: 6790K->6790K(8192K)
[11.530s][info][gc ] GC(43) Pause Young (G1 Evacuation Pause) 1500M->1500M(1500M) 2.022ms
[11.530s][info][gc,cpu ] GC(43) User=0.00s Sys=0.00s Real=0.00s
[11.530s][info][gc,start ] GC(44) Pause Full (Allocation Failure)
[11.534s][info][gc,phases,start] GC(44) Phase 1: Mark live objects
[11.693s][info][gc,stringtable ] GC(44) Cleaned string and symbol table, strings: 3731 processed, 196 removed, symbols: 27674 processed, 0 removed
[11.693s][info][gc,phases ] GC(44) Phase 1: Mark live objects 158.999ms
[11.693s][info][gc,phases,start] GC(44) Phase 2: Compute new object addresses
[11.813s][info][gc,phases ] GC(44) Phase 2: Compute new object addresses 119.267ms
[11.813s][info][gc,phases,start] GC(44) Phase 3: Adjust pointers
[11.893s][info][gc,phases ] GC(44) Phase 3: Adjust pointers 80.090ms
[11.893s][info][gc,phases,start] GC(44) Phase 4: Move objects
[11.992s][info][gc,phases ] GC(44) Phase 4: Move objects 98.811ms
[12.064s][info][gc,task ] GC(44) Using 2 workers of 2 to rebuild remembered set
[12.145s][info][gc,heap ] GC(44) Eden regions: 0->0(75)
[12.145s][info][gc,heap ] GC(44) Survivor regions: 0->0(10)
[12.145s][info][gc,heap ] GC(44) Old regions: 744->172
[12.145s][info][gc,heap ] GC(44) Humongous regions: 756->180
[12.145s][info][gc,metaspace ] GC(44) Metaspace: 6790K->6734K(8192K)
[12.146s][info][gc ] GC(44) Pause Full (Allocation Failure) 1500M->343M(1500M) 615.231ms
[12.146s][info][gc,cpu ] GC(44) User=0.47s Sys=0.04s Real=0.61s
[12.148s][info][gc,marking ] GC(35) Concurrent Mark From Roots 934.707ms
[12.148s][info][gc,marking ] GC(35) Concurrent Mark Abort
[12.148s][info][gc ] GC(35) Concurrent Cycle 937.392ms
[12.177s][info][gc,heap,exit ] Heap
[12.177s][info][gc,heap,exit ] garbage-first heap total 1536000K, used 352000K [0x00007fb4f2400000, 0x00007fb4f2502ee0, 0x00007fb550000000)
[12.177s][info][gc,heap,exit ] region size 1024K, 1 young (1024K), 0 survivors (0K)
[12.177s][info][gc,heap,exit ] Metaspace used 6992K, capacity 7222K, committed 7424K, reserved 8192K
----------System.err:(6/303)----------
java.lang.OutOfMemoryError: Java heap space
at Filler.<init>(TestGCLocker.java:50)
at MemoryUser.load(TestGCLocker.java:150)
at MemoryUser.run(TestGCLocker.java:164)
at java.base/java.lang.Thread.run(Thread.java:844)
STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Java heap space
Failures seen on Linux hosts only so far.
The log tail:
...
[11.528s][info][gc,start ] GC(43) Pause Young (G1 Evacuation Pause)
[11.528s][info][gc,task ] GC(43) Using 2 workers of 2 for evacuation
[11.530s][info][gc,phases ] GC(43) Pre Evacuate Collection Set: 0.3ms
[11.530s][info][gc,phases ] GC(43) Evacuate Collection Set: 1.2ms
[11.530s][info][gc,phases ] GC(43) Post Evacuate Collection Set: 0.2ms
[11.530s][info][gc,phases ] GC(43) Other: 0.1ms
[11.530s][info][gc,heap ] GC(43) Eden regions: 0->0(75)
[11.530s][info][gc,heap ] GC(43) Survivor regions: 0->0(10)
[11.530s][info][gc,heap ] GC(43) Old regions: 744->744
[11.530s][info][gc,heap ] GC(43) Humongous regions: 756->756
[11.530s][info][gc,metaspace ] GC(43) Metaspace: 6790K->6790K(8192K)
[11.530s][info][gc ] GC(43) Pause Young (G1 Evacuation Pause) 1500M->1500M(1500M) 2.022ms
[11.530s][info][gc,cpu ] GC(43) User=0.00s Sys=0.00s Real=0.00s
[11.530s][info][gc,start ] GC(44) Pause Full (Allocation Failure)
[11.534s][info][gc,phases,start] GC(44) Phase 1: Mark live objects
[11.693s][info][gc,stringtable ] GC(44) Cleaned string and symbol table, strings: 3731 processed, 196 removed, symbols: 27674 processed, 0 removed
[11.693s][info][gc,phases ] GC(44) Phase 1: Mark live objects 158.999ms
[11.693s][info][gc,phases,start] GC(44) Phase 2: Compute new object addresses
[11.813s][info][gc,phases ] GC(44) Phase 2: Compute new object addresses 119.267ms
[11.813s][info][gc,phases,start] GC(44) Phase 3: Adjust pointers
[11.893s][info][gc,phases ] GC(44) Phase 3: Adjust pointers 80.090ms
[11.893s][info][gc,phases,start] GC(44) Phase 4: Move objects
[11.992s][info][gc,phases ] GC(44) Phase 4: Move objects 98.811ms
[12.064s][info][gc,task ] GC(44) Using 2 workers of 2 to rebuild remembered set
[12.145s][info][gc,heap ] GC(44) Eden regions: 0->0(75)
[12.145s][info][gc,heap ] GC(44) Survivor regions: 0->0(10)
[12.145s][info][gc,heap ] GC(44) Old regions: 744->172
[12.145s][info][gc,heap ] GC(44) Humongous regions: 756->180
[12.145s][info][gc,metaspace ] GC(44) Metaspace: 6790K->6734K(8192K)
[12.146s][info][gc ] GC(44) Pause Full (Allocation Failure) 1500M->343M(1500M) 615.231ms
[12.146s][info][gc,cpu ] GC(44) User=0.47s Sys=0.04s Real=0.61s
[12.148s][info][gc,marking ] GC(35) Concurrent Mark From Roots 934.707ms
[12.148s][info][gc,marking ] GC(35) Concurrent Mark Abort
[12.148s][info][gc ] GC(35) Concurrent Cycle 937.392ms
[12.177s][info][gc,heap,exit ] Heap
[12.177s][info][gc,heap,exit ] garbage-first heap total 1536000K, used 352000K [0x00007fb4f2400000, 0x00007fb4f2502ee0, 0x00007fb550000000)
[12.177s][info][gc,heap,exit ] region size 1024K, 1 young (1024K), 0 survivors (0K)
[12.177s][info][gc,heap,exit ] Metaspace used 6992K, capacity 7222K, committed 7424K, reserved 8192K
----------System.err:(6/303)----------
java.lang.OutOfMemoryError: Java heap space
at Filler.<init>(TestGCLocker.java:50)
at MemoryUser.load(TestGCLocker.java:150)
at MemoryUser.run(TestGCLocker.java:164)
at java.base/java.lang.Thread.run(Thread.java:844)
STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Java heap space
- duplicates
-
JDK-8180622 gc/stress/gclocker/TestGCLockerWithParallel.java: fails with OOME Java heap space
- Closed
- relates to
-
JDK-8137099 G1 needs to "upgrade" GC within the safepoint if it can't allocate during that safepoint to avoid OoME
- Resolved
-
JDK-8177968 Add GC stress test TestGCLocker
- Resolved