-
Bug
-
Resolution: Fixed
-
P4
-
16, 17
-
b15
Reproduce:
- run jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventDefNewSerial.java with -XX:-UseCompressedClassPointers
For example, here is the incorrect metaspace statistics before the fix:
```
Event:jdk.MetaspaceSummary {
startTime = 10:35:24.762
gcId = 3
when = "Before GC"
gcThreshold = 21.0 MB
metaspace = {
committed = 10.3 MB
used = 10.2 MB
reserved = 16.0 MB
}
dataSpace = {
committed = 10.3 MB
used = 10.2 MB
reserved = 16.0 MB
}
classSpace = {
committed = 10.3 MB
used = 10.2 MB
reserved = 16.0 MB
}
}
```
- run jdk/jfr/event/gc/heapsummary/TestHeapSummaryEventDefNewSerial.java with -XX:-UseCompressedClassPointers
For example, here is the incorrect metaspace statistics before the fix:
```
Event:jdk.MetaspaceSummary {
startTime = 10:35:24.762
gcId = 3
when = "Before GC"
gcThreshold = 21.0 MB
metaspace = {
committed = 10.3 MB
used = 10.2 MB
reserved = 16.0 MB
}
dataSpace = {
committed = 10.3 MB
used = 10.2 MB
reserved = 16.0 MB
}
classSpace = {
committed = 10.3 MB
used = 10.2 MB
reserved = 16.0 MB
}
}
```
- relates to
-
JDK-8264983 Add gtest for JDK-8264008
-
- Resolved
-
-
JDK-8251158 Implementation of JEP 387: Elastic Metaspace
-
- Resolved
-