Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
13
-
b05
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8287377 | 11.0.17-oracle | Sandra Payne | P4 | Resolved | Fixed | b01 |
JDK-8288191 | 11.0.17 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8227220 | na | Tony Printezis | P4 | Resolved | Fixed | master |
Description
[60.082s][info ][gc,metaspace ] GC(24) Metaspace: 2209K->2209K(1056768K)
When coops are enabled, this can be confusing as users wonder why they asked for, say, 128M for the metaspace and the log is reporting over 1G. I think it will be valuable to also report the transitions of the metaspace subspaces (at least, when coops are enabled) so that users can get more accurate information about the space they are sizing. I propose the output to look something like this:
[8.999s][info][gc,metaspace ] GC(7) Metaspace: 2130K->2130K(1056768K) ClassMetadata: 1906K->1906K(8192K) ClassSpace: 223K->223K(1048576K)
(I'm open to suggestions on what to call "ClassMetadata" and "ClassSpace")
Attachments
Issue Links
- backported by
-
JDK-8227220 add subspace transitions to gc+metaspace=info log lines
- Resolved
-
JDK-8287377 add subspace transitions to gc+metaspace=info log lines
- Resolved
-
JDK-8288191 add subspace transitions to gc+metaspace=info log lines
- Resolved
- relates to
-
JDK-8223669 Metaspace GC infinite loop
- Closed
-
JDK-8227179 Test for new gc+metaspace=info output format
- Resolved
-
JDK-8227224 GenCollectedHeap: add subspace transitions for young gen for gc+heap=info log lines
- Resolved
-
JDK-8227225 ParallelGC: add subspace transitions for young gen for gc+heap=info log lines
- Resolved