comparison 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
comparison
equal deleted inserted replaced
7988:f3ea1af9207a 8021:8d9fc28831cc
1384 } 1384 }
1385 } 1385 }
1386 1386
1387 1387
1388 //----------------------------------------------------------------------------------- 1388 //-----------------------------------------------------------------------------------
1389 // Non-product code 1389 // Non-product code unless JVM/TI needs it
1390 1390
1391 #ifndef PRODUCT 1391 #if !defined(PRODUCT) || INCLUDE_JVMTI
1392 class SignatureTypePrinter : public SignatureTypeNames { 1392 class SignatureTypePrinter : public SignatureTypeNames {
1393 private: 1393 private:
1394 outputStream* _st; 1394 outputStream* _st;
1395 bool _use_separator; 1395 bool _use_separator;
1396 1396
1421 name()->print_symbol_on(st); 1421 name()->print_symbol_on(st);
1422 st->print("("); 1422 st->print("(");
1423 sig.print_parameters(); 1423 sig.print_parameters();
1424 st->print(")"); 1424 st->print(")");
1425 } 1425 }
1426 1426 #endif // !PRODUCT || INCLUDE_JVMTI
1427 1427
1428
1429 //-----------------------------------------------------------------------------------
1430 // Non-product code
1431
1432 #ifndef PRODUCT
1428 void Method::print_codes_on(outputStream* st) const { 1433 void Method::print_codes_on(outputStream* st) const {
1429 print_codes_on(0, code_size(), st); 1434 print_codes_on(0, code_size(), st);
1430 } 1435 }
1431 1436
1432 void Method::print_codes_on(int from, int to, outputStream* st) const { 1437 void Method::print_codes_on(int from, int to, outputStream* st) const {