RFR: 8292286: Convert PlaceholderTable to ResourceHashtable [v2]
Coleen Phillimore
coleenp at openjdk.org
Mon Aug 15 15:59:33 UTC 2022
On Mon, 15 Aug 2022 15:26:44 GMT, Harold Seigel <hseigel at openjdk.org> wrote:
>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Use Symbol::maybe increment or decrement refcount.
>
> src/hotspot/share/classfile/placeholders.hpp line 111:
>
>> 109: _supername = supername;
>> 110: if (_supername != nullptr) _supername->increment_refcount();
>> 111: }
>
> Could you use maybe_increment_refcount() instead of checking for NULL in the above code?
Yes, I fixed it to use the maybe version instead.
-------------
PR: https://git.openjdk.org/jdk/pull/9854
More information about the hotspot-dev
mailing list