6957080: MethodComparator needs stress testing

Add a stress-test flag for running MethodComparator over many inputs.  Fix bugs that crop up.

Reviewed-by: kvn
This commit is contained in:
John R Rose 2010-05-29 19:22:32 -07:00
parent 49cbc41c82
commit be95b163a6
5 changed files with 40 additions and 15 deletions

View file

@ -1120,6 +1120,9 @@ class CommandLineFlags {
product(intx, TraceRedefineClasses, 0, \
"Trace level for JVMTI RedefineClasses") \
\
develop(bool, StressMethodComparator, false, \
"run the MethodComparator on all loaded methods") \
\
/* change to false by default sometime after Mustang */ \
product(bool, VerifyMergedCPBytecodes, true, \
"Verify bytecodes after RedefineClasses constant pool merging") \