-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b83
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8141947 | emb-9 | Dmitry Fazunenko | P3 | Resolved | Fixed | team |
JDK-8266067 | openjdk8u302 | Unassigned | P3 | Resolved | Fixed | b01 |
Running with 7.4 MiB max heap size. Will allocate humongous object of 921.6 KiB size 0 times.
#0: [Full GC (System.gc()) 769K->410K(6144K), 0.0499453 secs]
#1: [GC pause (G1 Evacuation Pause) (young) 1434K->602K(6144K), 0.0244347 secs]
[init ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #1 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #2 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #3 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #4 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #5 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #6 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #7 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #8 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #9 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #10 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocated ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
----------System.err:(17/1035)----------
java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1)
at java.util.ArrayList.subListRangeCheck(ArrayList.java:1019)
at java.util.ArrayList.subList(ArrayList.java:1009)
at TestHumongousShrinkHeap.free(TestHumongousShrinkHeap.java:110)
at TestHumongousShrinkHeap.test(TestHumongousShrinkHeap.java:78)
at TestHumongousShrinkHeap.main(TestHumongousShrinkHeap.java:67)
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:504)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:746)
This happens because of really small heap:
Running with 7.4 MiB max heap size. Will allocate humongous object of 921.6 KiB size 0 times.
The test should exit in such cases.
#0: [Full GC (System.gc()) 769K->410K(6144K), 0.0499453 secs]
#1: [GC pause (G1 Evacuation Pause) (young) 1434K->602K(6144K), 0.0244347 secs]
[init ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #1 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #2 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #3 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #4 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #5 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #6 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #7 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #8 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #9 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocate #10 ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
[allocated ] init: 8.0 MiB, used: 1.0 MiB, comm: 6.0 MiB, freeRatio ~= 83.3%
----------System.err:(17/1035)----------
java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1)
at java.util.ArrayList.subListRangeCheck(ArrayList.java:1019)
at java.util.ArrayList.subList(ArrayList.java:1009)
at TestHumongousShrinkHeap.free(TestHumongousShrinkHeap.java:110)
at TestHumongousShrinkHeap.test(TestHumongousShrinkHeap.java:78)
at TestHumongousShrinkHeap.main(TestHumongousShrinkHeap.java:67)
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:504)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:746)
This happens because of really small heap:
Running with 7.4 MiB max heap size. Will allocate humongous object of 921.6 KiB size 0 times.
The test should exit in such cases.
- backported by
-
JDK-8141947 [TESTBUG] gc/g1/TestHumongousShrinkHeap.java might fail on embedded
- Resolved
-
JDK-8266067 [TESTBUG] gc/g1/TestHumongousShrinkHeap.java might fail on embedded
- Resolved