RFR: 8264166: OopStorage should support specifying MEMFLAGS for allocations

Thomas Schatzl tschatzl at openjdk.java.net
Thu Mar 25 08:23:39 UTC 2021


On Thu, 25 Mar 2021 07:27:58 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this change to OopStorage to allow the MEMFLAGS value for associated allocations to be specified when the storage object is constructed.  This allows a subsystem that needs an OopStorage object to associate its allocation with others for that subsystem in NMT tracking and reporting.
> 
> Testing:
> mach5 tier1.
> Manually compared NMT output before and after this change for a test that generated a lot of one particular OopStorage entries.

Lgtm.

-------------

Marked as reviewed by tschatzl (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3188


More information about the serviceability-dev mailing list