RFR: 8292448: Convert BitMapFragmentTable to ResourceHashtable [v2]
Coleen Phillimore
coleenp at openjdk.org
Tue Aug 16 20:55:25 UTC 2022
On Tue, 16 Aug 2022 20:51:00 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> src/hotspot/share/utilities/objectBitSet.inline.hpp line 63:
>>
>>> 61: };
>>> 62: Deleter deleter;
>>> 63: _bitmap_fragments.unlink(&deleter);
>>
>> This shouldn't be necessary. The destructor of _bitmap_fragments will be implicitly called and will free all of its entries.
>
> Yes, I added a temporary assert and indeed it is. Thanks for pointing this out.
I'd actually tested with the version without it and then thought I needed it this morning, so I'm glad I don't need it.
-------------
PR: https://git.openjdk.org/jdk/pull/9893
More information about the hotspot-dev
mailing list