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

Erik Österlund erik.osterlund at oracle.com
Mon Sep 2 13:59:32 UTC 2019


Hi Thomas,

Thanks for the review!

/Erik

On 2019-09-02 15:07, Thomas Schatzl wrote:
> 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