RFR(L) 8153224 Monitor deflation prolong safepoints (CR8/v2.08/11-for-jdk14)

Robbin Ehn robbin.ehn at oracle.com
Thu Nov 14 07:37:29 UTC 2019


Hi Dan,

On 2019-11-13 21:05, Daniel D. Daugherty wrote:
>> if (l_ref_count > 0) {
...
> - The above rewrite is not equivalent logic because this:
> 
>       if (l_ref_count > 0) {
> 
>    will prevent ADIM_guarantee(l_ref_count > 0, ...) from ever failing.

Yes, that one should be reversed.

> 
> My plan is to update the ref_count() function to do an
> Atomic::load() of the _ref_count field and I think that will
> address the sub-thread to everyone's satisfaction.

Ok!

Thanks, Robbin

> 
> Dan
> 


More information about the hotspot-runtime-dev mailing list