RFR: 8264166: OopStorage should support specifying MEMFLAGS for allocations

Kim Barrett kbarrett at openjdk.java.net
Thu Mar 25 10:56:40 UTC 2021


On Thu, 25 Mar 2021 08:42:06 GMT, Stefan Karlsson <stefank 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.
>
> src/hotspot/share/gc/shared/oopStorage.inline.hpp line 28:
> 
>> 26: #define SHARE_GC_SHARED_OOPSTORAGE_INLINE_HPP
>> 27: 
>> 28: #include "memory/allocation.hpp"
> 
> Sort order

Oops, will fix.

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

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


More information about the hotspot-dev mailing list