RFR: 6004: Should add tenuring summary to the GC visualization
Marcus Hirt
hirt at openjdk.org
Wed Oct 22 15:20:22 UTC 2025
On Fri, 17 Oct 2025 15:39:33 GMT, Aymane Harmaz <aharmaz at openjdk.org> wrote:
> This change adds a new tab to display the tenuring distribution for GC cycles.
>
> There are 3 case scenarios:
> - Single GC cycle selected: A histogram chart is shown representing the tenuring distribution (total size across ages) for the selected cycle.
> - No GC cycle selected: An informational message is displayed to prompt the user to select a cycle.
> - Multiple GC cycles selected: An informational message is displayed indicating that only a single cycle can be viewed at a time.
> This enhancement improves visibility into object tenuring during individual GC cycles.
>
> <img width="1174" height="599" alt="Screenshot 2025-10-15 at 16 51 19" src="https://github.com/user-attachments/assets/76ce69c2-60eb-48c8-be9f-6387cbfa7c42" />
>
> <img width="1174" height="599" alt="Screenshot 2025-10-15 at 16 51 34" src="https://github.com/user-attachments/assets/a5fc9bc9-fa72-42c9-aeb2-ecad21e4ac66" />
>
> <img width="1174" height="599" alt="Screenshot 2025-10-15 at 16 51 57" src="https://github.com/user-attachments/assets/63ffba47-8e08-430a-9a28-11473b59e6dc" />
Marked as reviewed by hirt (Lead).
application/org.openjdk.jmc.flightrecorder.ui/src/main/resources/org/openjdk/jmc/flightrecorder/ui/messages/internal/messages.properties line 349:
> 347: GarbageCollectionsPage_TENURING_DISTRIBUTION_TITLE=Tenuring Distribution
> 348: GarbageCollectionsPage_TENURING_DISTRIBUTION_NO_SELECTION_MESSAGE=No valid Selection
> 349: GarbageCollectionsPage_TENURING_DISTRIBUTION_MULTI_SELECTION_MESSAGE=Distribution is shown for a single GC cycle
Perhaps this can be more specific? "Multiple GC cycles selected. Distribution is only shown for a single GC."
-------------
PR Review: https://git.openjdk.org/jmc/pull/679#pullrequestreview-3366309268
PR Review Comment: https://git.openjdk.org/jmc/pull/679#discussion_r2452460600
More information about the jmc-dev
mailing list