RFR (XS) JDK-8164482,[REDO] G1 does not implement millis_since_last_gc which is needed by RMI GC
Thomas Schatzl
thomas.schatzl at oracle.com
Thu Sep 15 19:12:42 UTC 2016
Hi Joe,
On Thu, 2016-09-15 at 13:16 -0400, Joseph Provino wrote:
> Creating a jtreg test is more complicated than expected because
> sun.rmi.transport.GC is not public.
> Reflection could be used or millis_since_last_gc() could be made
> accessible through WhiteBox.
> But Dima says the correct way is a test in GTest format for
> G1CollectedHeap::millis_since_last_gc().
> But this case requires an initialized VM, and for the time being our
> GTest mechanism doesn't support such cases, it supports only native
> unit tests.
> So I'd like to file an RFE for a regression test and push the fix for
> 8164482.
Fine with me.
> Could I get two reviews for this?
> https://bugs.openjdk.java.net/browse/JDK-8164482
>
> http://cr.openjdk.java.net/~jprovino/8164482/webrev.01
As mentioned before, looks good.
Thomas
More information about the hotspot-gc-dev
mailing list