-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b150
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8196248 | 8u191 | Muthusamy Chinnathambi | P2 | Resolved | Fixed | b01 |
JDK-8201042 | 8u181 | Unassigned | P2 | Resolved | Fixed | b01 |
JDK-8193239 | 8u172 | Muthusamy Chinnathambi | P2 | Closed | Fixed | b01 |
JDK-8203087 | emb-8u181 | Muthusamy Chinnathambi | P2 | Resolved | Fixed | master |
The fix for JDK-8169931 introduced a new assert to ensure that we always try to allocate chunks that are any of the three fixed sizes (specialized, small, medium) or a humongous chunk (if it is larger then the medium chunk size).
During metaspace initialization an initial metaspace chunk is allocated. The size of some of the metaspace instances can be specified on the command line. For example:
java -XX:InitialBootClassLoaderMetaspaceSize=30720 -version
If this size is smaller than the medium chunk size and at the same time doesn't match the specialized or small chunk size, then we end up hitting the assert mentioned above:
#
# Internal Error (/scratch/opt/jprt/T/P1/142848.erik/s/hotspot/src/share/vm/memory/metaspace.cpp:2359), pid=31643, tid=31646
# assert(size > free_chunks(MediumIndex)->size()) failed: Not a humongous chunk
#
During metaspace initialization an initial metaspace chunk is allocated. The size of some of the metaspace instances can be specified on the command line. For example:
java -XX:InitialBootClassLoaderMetaspaceSize=30720 -version
If this size is smaller than the medium chunk size and at the same time doesn't match the specialized or small chunk size, then we end up hitting the assert mentioned above:
#
# Internal Error (/scratch/opt/jprt/T/P1/142848.erik/s/hotspot/src/share/vm/memory/metaspace.cpp:2359), pid=31643, tid=31646
# assert(size > free_chunks(MediumIndex)->size()) failed: Not a humongous chunk
#
- backported by
-
JDK-8196248 Metaspace initialization queries the wrong chunk freelist
- Resolved
-
JDK-8201042 Metaspace initialization queries the wrong chunk freelist
- Resolved
-
JDK-8203087 Metaspace initialization queries the wrong chunk freelist
- Resolved
-
JDK-8193239 Metaspace initialization queries the wrong chunk freelist
- Closed
- clones
-
JDK-8170355 [BACKOUT] 8k class metaspace chunks misallocated from 4k chunk freelist
- Resolved