RFR: 8224814: Remove dead JNIHandleBlock freelist code

Erik Ă–sterlund erik.osterlund at oracle.com
Mon May 27 08:29:02 UTC 2019


Hi Stefan,

Thanks for the review.

/Erik

On 2019-05-27 10:12, Stefan Karlsson wrote:
> Looks good.
>
> StefanK
>
> On 2019-05-27 10:04, Erik Ă–sterlund wrote:
>> Hi,
>>
>> The JNIHandleBlock used to be a shared structure between global and 
>> local JNI handles. The blocks have a freelist mechanism, that allows 
>> you to free individual handles inside of a block, by putting them on 
>> freelists. This freelist mechanism was used by global JNI handles. 
>> However, the global handles have moved into OopStorage, making the 
>> freelist mechanism effectively dead code. Let's remove it.
>>
>> Bug:
>> https://bugs.openjdk.java.net/browse/JDK-8224814
>>
>> Webrev:
>> http://cr.openjdk.java.net/~eosterlund/8224814/webrev.00/
>>
>> Thanks,
>> /Erik



More information about the hotspot-runtime-dev mailing list