Mercurial > hg > truffle
diff src/share/vm/oops/method.hpp @ 8021:8d9fc28831cc
7182152: Instrumentation hot swap test incorrect monitor count
Summary: Add/refine new tracing support using -XX:TraceRedefineClasses=16384.
Reviewed-by: coleenp, acorn, sspitsyn
author | dcubed |
---|---|
date | Wed, 06 Feb 2013 14:31:37 -0800 |
parents | 1eae78177059 |
children | 461a3adac4d1 |
line wrap: on
line diff
--- a/src/share/vm/oops/method.hpp Tue Feb 05 00:59:40 2013 -0800 +++ b/src/share/vm/oops/method.hpp Wed Feb 06 14:31:37 2013 -0800 @@ -800,8 +800,12 @@ static bool has_unloaded_classes_in_signature(methodHandle m, TRAPS); // Printing - void print_short_name(outputStream* st = tty) /*PRODUCT_RETURN*/; // prints as klassname::methodname; Exposed so field engineers can debug VM + void print_short_name(outputStream* st = tty); // prints as klassname::methodname; Exposed so field engineers can debug VM +#if INCLUDE_JVMTI + void print_name(outputStream* st = tty); // prints as "virtual void foo(int)"; exposed for TraceRedefineClasses +#else void print_name(outputStream* st = tty) PRODUCT_RETURN; // prints as "virtual void foo(int)" +#endif // Helper routine used for method sorting static void sort_methods(Array<Method*>* methods,