RFR (M) : 8024319 : Add regression tests on documented GC-related -XX:+Print* options

Filipp Zhinkin filipp.zhinkin at oracle.com
Tue Sep 10 09:15:33 UTC 2013


Hi,

I'd like to get a review on new regression tests on various GC-related 
-XX:+Print* options:

http://bugs.sun.com/view_bug.do?bug_id=8024319

webrev:
http://cr.openjdk.java.net/~kshefov/8024319/webrev.00/

Brief overview of tests to be added:
Following tests verify that PrintGC and PrintGCDetails flags work and 
emit appropriate output.
Tests grouped by GC in order to handle different GC logging format.
gc/arguments/print/TestCMSPrintGCFlags
gc/arguments/print/TestG1PrintGCFlags.java
gc/arguments/print/TestSerialAndParallelPrintGCFlags

Test on PrintGCTimeStamps and PrintGCDateStamps flags. It verifies that 
options and their
combinations emit appropriate output and verifies that time and date 
stamps are not decreasing over time.
gc/arguments/print/TestGCStampFlags

Test on PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime.
It verifies that these options emit appropriate output.
gc/arguments/print/TestPrintGCAppTimeFlags

Test on PrintGCTaskTimeStamps flah. It verifies that when this option 
emit output only with parallel GC
and also verifies that all timestamps are not decreasing and for each GC 
thread verifies that number of
reported task timestamps equal to expected number of tasks.
gc/arguments/print/TestPrintGCTaskTimeStampsFlag

Test on PrintTenuringDistribution flag. It verifies that appropriate 
output is emitted when this option is
turned on and also verifies that reported values lies between 0 and 
selected MaxTenuringThreshold.
gc/arguments/print/TestPrintTenuringDistributionFlag*

*Testing done: manual testing and JPRT.

Thanks,
Filipp.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20130910/27052fb5/attachment.htm>


More information about the hotspot-gc-dev mailing list