RFR (S): 8242036: G1 HeapRegionRemSet::_n_coarse_entries could be a bool

Kim Barrett kim.barrett at oracle.com
Fri Jul 24 23:34:20 UTC 2020


> On Jul 24, 2020, at 7:37 AM, Albert Yang <albert.m.yang at oracle.com> wrote:
> 
> I see.
> 
> Updated:
> 
> http://cr.openjdk.java.net/~lkorinth/albert/8242036/3/
> 
> I am not sure if this unconditional write will pollute the cacheline though, since this variable is accessed concurrently.

This code is on a rare path and holding the lock.

Change looks good.




More information about the hotspot-gc-dev mailing list