RFR: 8230401: ClassLoaderData::_keep_alive is read with wrong type in c2i entry barrier

Thomas Schatzl thomas.schatzl at oracle.com
Mon Sep 2 13:07:19 UTC 2019


Hi,

On Fri, 2019-08-30 at 17:43 +0200, Erik Österlund wrote:
> Hi,
> 
> Zhengyu noticed that the ClassLoaderData::_keep_alive field is a
> short, but the c2i entry barrier reads it with cmpl, treating it like
> an int.

nice catch!


> 
> First of all, thanks Zhengyu for spotting that. Nice catch.
> 
> [...]
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8230401
> 
> Webrev:
> http://cr.openjdk.java.net/~eosterlund/8230401/webrev.00/

  looks good.

Thomas




More information about the hotspot-runtime-dev mailing list