RFR: 8224814: Remove dead JNIHandleBlock freelist code

Erik Österlund erik.osterlund at oracle.com
Mon May 27 09:24:05 UTC 2019


Hi Thomas,

Thanks for the review.

/Erik

On 2019-05-27 10:43, Thomas Schatzl wrote:
> Hi,
>
> On Mon, 2019-05-27 at 10:04 +0200, 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/
>    looks good.
>
> Thomas
>
>



More information about the hotspot-runtime-dev mailing list