Mercurial > hg > graal-compiler
diff src/share/vm/oops/method.cpp @ 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 | 16fb9f942703 |
children | 461a3adac4d1 |
line wrap: on
line diff
--- a/src/share/vm/oops/method.cpp Tue Feb 05 00:59:40 2013 -0800 +++ b/src/share/vm/oops/method.cpp Wed Feb 06 14:31:37 2013 -0800 @@ -1386,9 +1386,9 @@ //----------------------------------------------------------------------------------- -// Non-product code +// Non-product code unless JVM/TI needs it -#ifndef PRODUCT +#if !defined(PRODUCT) || INCLUDE_JVMTI class SignatureTypePrinter : public SignatureTypeNames { private: outputStream* _st; @@ -1423,8 +1423,13 @@ sig.print_parameters(); st->print(")"); } +#endif // !PRODUCT || INCLUDE_JVMTI +//----------------------------------------------------------------------------------- +// Non-product code + +#ifndef PRODUCT void Method::print_codes_on(outputStream* st) const { print_codes_on(0, code_size(), st); }