-
Enhancement
-
Resolution: Unresolved
-
P4
-
21
Currently at the end of full gc we print something like
Pause Full (G1 Compaction Pause)
at the end of GC regardless of the cause for that compaction. This makes it hard to understand why that full gc has been triggered.
Even for maximum compaction full gcs, we print the same reason.
It would be nice if we tagged the full gcs better with e.g. whether they were caused by regular allocation/gc, humongous allocation, or the reason has been that maximum compaction.
One option could be adding another tag, like
Pause Full (G1 Compaction Pause) (G1 Humongous Allocation) (in case of humongous allocation)
Pause Full (G1 Compaction Pause) (G1 Maximum Compaction)
or just use a single tag
Pause Full (G1 Maximum Compaction Pause)
Pause Full (G1 Compaction Pause)
at the end of GC regardless of the cause for that compaction. This makes it hard to understand why that full gc has been triggered.
Even for maximum compaction full gcs, we print the same reason.
It would be nice if we tagged the full gcs better with e.g. whether they were caused by regular allocation/gc, humongous allocation, or the reason has been that maximum compaction.
One option could be adding another tag, like
Pause Full (G1 Compaction Pause) (G1 Humongous Allocation) (in case of humongous allocation)
Pause Full (G1 Compaction Pause) (G1 Maximum Compaction)
or just use a single tag
Pause Full (G1 Maximum Compaction Pause)