RFR: 8296785: Use realloc for CHeap-allocated BitMaps [v2]
Thomas Stuefe
stuefe at openjdk.org
Wed Nov 16 17:03:27 UTC 2022
On Wed, 16 Nov 2022 16:47:01 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
>> src/hotspot/share/utilities/bitMap.cpp line 53:
>>
>>> 51:
>>> 52: return map;
>>> 53: }
>>
>> Could this live inside `GrowableBitmap<T>` as a private static function?
>
> It could, though I see that function as an implementation detail of ArenaBitMap and ResourceBitMap, that I don't want to burden CHeapBitMap with. I also like if we can keep the definition of GrowableBitMap simple, so that it's easier to read and understand. So, I'd prefer to not have to do this. I hope that's OK.
Fine with me.
-------------
PR: https://git.openjdk.org/jdk/pull/11102
More information about the hotspot-dev
mailing list