RFR: JDK-8072725: Provide more granular levels for GC verification

Poonam Bajaj Parhar poonam.bajaj at oracle.com
Tue Dec 15 23:15:03 UTC 2015


Please review these changes that split up the work done under Verify*GC 
options. This will be very useful in debugging GC issues/crashes where 
verifying the whole memory system with Verify*GC options slows down the 
process and makes it impossible to reproduce the problem.

The changes introduce a new option /VerifySubSet///that can be used to 
specify the specific memory sub-systems that one wants to verify. It can 
be one or more of the sub-systems from these: threads, heap, 
symbol_table, string_table, codecache, dictionary, 
classloader_data_graph, metaspace, jni_handles,  c-heap and 
codecache_oops. If nothing is specified with /VerifySubSet/ then whole 
of the memory system is verified with Verify*GC options.

Bug:JDK-8072725: <https://bugs.openjdk.java.net/browse/JDK-8072725> 
Provide more granular levels for GC verification
Webrev: http://cr.openjdk.java.net/~poonam/8072725/webrev.00/
Testing: JPRT, tested the changes with a simple test program.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20151215/053feafc/attachment.htm>

More information about the hotspot-gc-dev mailing list