RFR (XS) JDK-8164482,[REDO] G1 does not implement millis_since_last_gc which is needed by RMI GC

Joseph Provino joseph.provino at oracle.com
Thu Sep 15 19:47:12 UTC 2016


Thomas, thanks!  One more review please?

joe


On 9/15/2016 3:12 PM, Thomas Schatzl wrote:
> 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