Request for review (S): 8006398: Add regression tests for deprectated GCs

Bengt Rutisson bengt.rutisson at
Wed Jan 16 12:58:36 UTC 2013

Hi all,

Could I have a couple of reviews for this change?

Recently we deprecated some GC combinations. Those should now print a 
warning at startup. Other GC combinations should not print any warnings.

With the new process handling support that Christian Törnqvist is adding 
to the JTREG tests for hotspot it is very easy to write test that start 
a VM and checks the output.

This changes makes use of Christian's testlibrary to verify that 
warnings are printed as expected.

I'm also adding the "gc" keyword to JTREG to make it possible to filter 
out GC tests. We should probably use this for all test in the the /gc 
folder, but I think that should be done as a separate change.

The webrev above is based on Christian's webrev to add the testlibrary:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the hotspot-gc-dev mailing list