RFR: 8224814: Remove dead JNIHandleBlock freelist code

Thomas Schatzl thomas.schatzl at oracle.com
Mon May 27 08:43:15 UTC 2019


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