RFR (S/M): 8222492: G1 unnecessarily scans remembered set cards for regions that already have been evacuated

Kim Barrett kim.barrett at oracle.com
Thu May 16 22:45:04 UTC 2019


On Apr 26, 2019, at 8:27 AM, Thomas Schatzl <thomas.schatzl at oracle.com> wrote:
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8222492
> Webrev:
> http://cr.openjdk.java.net/~tschatzl/8222492/webrev/
> Testing:
> hs-tier1-5, running the crashing test of JDK-8222426 for 5k times
> without failures (the crash has an occurrence of 1-2 times/1000 runs).
> 
> Thanks,
>  Thomas
> 

Looks good.

One minor nit:

src/hotspot/share/gc/g1/g1OopClosures.inline.hpp
 190   // Entries in the optional collection set may become to be located in the collection
 191   // set during incremental collection of the old generation.

That comment needs some fixing.




More information about the hotspot-gc-dev mailing list