RFR: 8059066: CardTableModRefBS might commit the same page twice
kim.barrett at oracle.com
Thu Nov 20 18:27:14 UTC 2014
On Nov 17, 2014, at 12:43 PM, Erik Helin <erik.helin at oracle.com> wrote:
> Because the start is aligned down and the end is aligned up, the two
> committed regions will always share at least one page (since the start
> for _committed will be aligned down and the end for _committed
> will be aligned up).
I’m just getting back to this today, and haven’t yet refreshed my understanding
of the code. However, the claim that there will be at least one shared page,
(with followup reasoning for exactly one shared page), doesn’t seem right to me.
It seems to me there could be zero shared pages, since _committed could
(perhaps accidentally, if not by design) be page aligned.
More information about the hotspot-gc-dev