-
Bug
-
Resolution: Fixed
-
P4
-
8, 9, 10, 11, 12, 13
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8219309 | 12.0.2 | Yasumasa Suenaga | P4 | Resolved | Fixed | b01 |
JDK-8218412 | 11.0.3 | Yasumasa Suenaga | P4 | Resolved | Fixed | master |
JDK-8218542 | openjdk8u212 | Yasumasa Suenaga | P4 | Resolved | Fixed | b01 |
https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2019-January/024465.html
My customer uses OpenJDK 8u131 with following commandline arguments:
-XX:+CMSClassUnloadingEnabled -XX:CMSInitiatingOccupancyFraction=80
-XX:CompressedClassSpaceSize=128m -Xms4500m -Xmx4500m
-XX:MaxMetaspaceSize=256m -Xmn=768m -XX:MaxTenuringThreshold=15
-XX:OnOutOfMemoryError="/bin/kill -ABRT %p"
-XX:+UseCMSInitiatingOccupancyOnly -XX:+UseConcMarkSweepGC
Their system has encountered OutOfMemoryError which is caused by Metaspace.
I checked core image which was collected by OnOutOfMemoryError, and I saw
strange values in it as below:
-------------------
(gdb) p Metaspace::_space_list->_reserved_words
$67 = 31195136
(gdb) p Metaspace::_class_space_list->_reserved_words
$68 = 16777216
(gdb) p MetaspaceGC::_capacity_until_GC
$75 = 448045056
-------------------
My customer uses OpenJDK 8u131 with following commandline arguments:
-XX:+CMSClassUnloadingEnabled -XX:CMSInitiatingOccupancyFraction=80
-XX:CompressedClassSpaceSize=128m -Xms4500m -Xmx4500m
-XX:MaxMetaspaceSize=256m -Xmn=768m -XX:MaxTenuringThreshold=15
-XX:OnOutOfMemoryError="/bin/kill -ABRT %p"
-XX:+UseCMSInitiatingOccupancyOnly -XX:+UseConcMarkSweepGC
Their system has encountered OutOfMemoryError which is caused by Metaspace.
I checked core image which was collected by OnOutOfMemoryError, and I saw
strange values in it as below:
-------------------
(gdb) p Metaspace::_space_list->_reserved_words
$67 = 31195136
(gdb) p Metaspace::_class_space_list->_reserved_words
$68 = 16777216
(gdb) p MetaspaceGC::_capacity_until_GC
$75 = 448045056
-------------------
- backported by
-
JDK-8218412 MetaspaceGC::_capacity_until_GC exceeds MaxMetaspaceSize
- Resolved
-
JDK-8218542 MetaspaceGC::_capacity_until_GC exceeds MaxMetaspaceSize
- Resolved
-
JDK-8219309 MetaspaceGC::_capacity_until_GC exceeds MaxMetaspaceSize
- Resolved
- relates to
-
JDK-8226236 win32: gc/metaspace/TestCapacityUntilGCWrapAround.java fails
- Resolved