RFR(S): 8048179: Early reclaim of large objects that are referenced by a few objects
Thomas Schatzl
thomas.schatzl at oracle.com
Thu Dec 11 14:55:03 UTC 2014
Hi,
On Wed, 2014-12-10 at 20:09 +0300, Dmitry Fazunenko wrote:
> Hi Thomas,
>
> May I suggest refactoring to the regression test?
> Now we have @requires that allows us to avoid vm flag conflicts. So,
> it's not necessary anymore to fork a VM.
> After refactoring the test header would look like:
>
> /**
> * @test
> * ...
> * @requires vm.gc == null | vm.gc == "G1"
> * @run main/othervm -XX:+UseG1GC -Xms128M -Xmx128M -Xmn16M
> -XX:+PrintGC -Xloggc:gc.log ReclaimRegionFast
> * @run TestEagerReclaimHumongousRegions3
> */
>
> The code of ReclaimRegionFast will be unchanged. You need only modify
> TestEagerReclaimHumongousRegions3 to read from gc.log instead of the
> process output.
is there an example that shows that?
Does the main() of TestEagerReclaimHumongousRegions3 need to manually
open the file and read it into a string and then do the same regexp
stuff as before?
Thanks,
Thomas
More information about the hotspot-gc-dev
mailing list