[Rev 06] RFR: 6657: Add allocation pressure column to Memory and TLAB views

Jie Kang jkang at openjdk.java.net
Wed Jan 15 19:51:49 UTC 2020

> This patch addresses https://bugs.openjdk.java.net/browse/JMC-6657, which itself is a clone of https://bugs.openjdk.java.net/browse/JMC-5923 that targets the Memory and TLAB pages, rather than the stacktrace view.
> The ItemHistogram and related classes now have support for Percentage columns that divides the aggregate value for items in a row against the aggregate value for all items in the model.
> This is used in the Memory page to show Total Allocation as a Percentage. The TLAB page is modified to be tabbed and contains two ItemHistograms, one for classifying against Threads (previously existed) and one against Top Methods (new). Both also have two new columns: allocations inside and outside TLABs, as a percentage.
> ![tlab-page](https://user-images.githubusercontent.com/5430520/71093691-b2094c00-2177-11ea-9965-f27948964cd3.png)
> TLABs by Top Methods, showcasing sorting by the new percentage column. Together with the stacktrace view, I believe these changes make it easier to see relevant areas of allocation pressure.

The pull request has been updated with 1 additional commit.


Added commits:
 - 867c2bb9: Update licenses with correct year field

  - all: https://git.openjdk.java.net/jmc/pull/21/files
  - new: https://git.openjdk.java.net/jmc/pull/21/files/b118b2a3..867c2bb9

 - full: https://webrevs.openjdk.java.net/jmc/21/webrev.06
 - incr: https://webrevs.openjdk.java.net/jmc/21/webrev.05-06

  Stats: 13 lines in 13 files changed: 0 ins; 0 del; 13 mod
  Patch: https://git.openjdk.java.net/jmc/pull/21.diff
  Fetch: git fetch https://git.openjdk.java.net/jmc pull/21/head:pull/21

PR: https://git.openjdk.java.net/jmc/pull/21

More information about the jmc-dev mailing list