Integrated: 8295013: OopStorage should derive from CHeapObjBase

Kim Barrett kbarrett at openjdk.org
Tue Oct 11 23:23:12 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

This pull request has now been integrated.

Changeset: 94a9b048
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/94a9b048afef789e5c604201b61b86ace5c9af67
Stats:     192 lines in 5 files changed: 15 ins; 13 del; 164 mod

8295013: OopStorage should derive from CHeapObjBase

Reviewed-by: stefank, tschatzl

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

PR: https://git.openjdk.org/jdk/pull/10622



More information about the hotspot-gc-dev mailing list