G1 RSet improvement ideas

Thomas Schatzl thomas.schatzl at oracle.com
Mon Feb 3 10:09:53 UTC 2014


Hi,

On Thu, 2014-01-30 at 17:52 -0800, Igor Veresov wrote:
> Regarding item (4). Here is an idea of quickly rebuilding rsets: after creating
>a new empty set, the cards from the old set can be simply dirtied and
>pumped into the conc. refinement system. 

  while it will certainly work, this mechanism seems to have a quite
large overhead compared to let it simply scan the area by itself.

The refinement code is not particularly fast, and most certainly give
issues with memory consumption during that operation. A complete RSet
may contain a lot of cards after all (particularly if it uses a few
coarse remembered sets at large region sizes).

Thomas




More information about the hotspot-gc-dev mailing list