RFR (S): 8051973: Eager reclaim leaves marks of marked but reclaimed objects on the next bitmap

Thomas Schatzl thomas.schatzl at oracle.com
Mon Aug 4 14:39:59 UTC 2014


Hi Bengt,

On Mon, 2014-08-04 at 10:02 +0200, Bengt Rutisson wrote:
> Hi Thomas,
> 
> Looks good.
> 
> One minor question about this code:
> 
> 
> 6609     // Need to clear mark bit of the humongous object if already set.
> 6610     if (next_bitmap->isMarked(r->bottom())) {
> 6611       next_bitmap->clear(r->bottom());
> 6612     }
> 
> Is it worth checking if the bit is marked or should we just 
> unconditionally clear it?

  it does not really matter I think.

Unfortunately I already pushed the change. I can create a cr to fix
that.

Thanks,
Thomas



More information about the hotspot-gc-dev mailing list