RFR [S][2/7] 8197570: Make rules for choosing collection set candidates more explicit
Thomas Schatzl
thomas.schatzl at oracle.com
Wed Mar 7 10:00:09 UTC 2018
Hi,
thanks for your review.
I created webrevs anyway:
http://cr.openjdk.java.net/~tschatzl/8197570/webrev.0_to_1/ (diff)
http://cr.openjdk.java.net/~tschatzl/8197570/webrev.1/ (full)
Thanks,
Thomas
On Tue, 2018-03-06 at 16:02 -0800, sangheon.kim wrote:
> Hi Thomas,
>
> On 03/05/2018 06:22 AM, Thomas Schatzl wrote:
> > Hi all,
> >
> > can I have reviews for this change that makes the rule
> > (occupancy)
> > for choosing collection set candidates more explicit, i.e. factor
> > it
> > into a single method. This is needed for selecting the regions we
> > want
> > to rebuild the remembered sets concurrently (JDK-8180415) more
> > straightforward.
> >
> > It also adds a method to allow iteration over the regions in the
> > collection set - I did not see that worth an extra webrev.
> >
> > CR:
> > https://bugs.openjdk.java.net/browse/JDK-8197570
> > Webrev:
> > http://cr.openjdk.java.net/~tschatzl/8197570/webrev/
>
> Looks good.
>
> One minor nit:
> You can add 'const' qualifier to the newly added method,
> CollectionSetChooser::should_add(HeapRegion* hr).
>
> I don't need a new webrev for this.
>
> Thanks,
> Sangheon
>
>
> > Testing:
> > hs-tier 1-5, mostly in conjunction with related changes
> >
> > Thanks,
> > Thomas
> >
>
>
More information about the hotspot-gc-dev
mailing list