G1 RSet improvement ideas
thomas.schatzl at oracle.com
Mon Feb 3 02:09:53 PST 2014
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).
More information about the hotspot-gc-dev