RFR: 8295013: OopStorage should derive from CHeapObjBase
Thomas Schatzl
tschatzl at openjdk.org
Mon Oct 10 07:59:36 UTC 2022
On Sun, 9 Oct 2022 00:38:55 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change to OopStorage to derive from CHeapObjBase instead of
> providing its own `operator new` and `operator delete`.
>
> We also add OopStorage::create factory, so the MEMFLAGS used to allocate the
> storage object will be the same as that passed to its constructor. This
> required a bunch of fairly mechanical updates to relevant gtests.
>
> While I was there, also made OopStorage noncopyable.
>
> Testing: mach5 tier1
Marked as reviewed by tschatzl (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/10622
More information about the hotspot-gc-dev
mailing list