Mercurial > hg > truffle
comparison src/share/vm/oops/method.cpp @ 8025:461a3adac4d1
Merge
author | sspitsyn |
---|---|
date | Fri, 08 Feb 2013 09:14:06 -0800 |
parents | d05ff4bf41b3 8d9fc28831cc |
children | 927a311d00f9 |
comparison
equal
deleted
inserted
replaced
8016:1135141fb97e | 8025:461a3adac4d1 |
---|---|
1391 } | 1391 } |
1392 } | 1392 } |
1393 | 1393 |
1394 | 1394 |
1395 //----------------------------------------------------------------------------------- | 1395 //----------------------------------------------------------------------------------- |
1396 // Non-product code | 1396 // Non-product code unless JVM/TI needs it |
1397 | 1397 |
1398 #ifndef PRODUCT | 1398 #if !defined(PRODUCT) || INCLUDE_JVMTI |
1399 class SignatureTypePrinter : public SignatureTypeNames { | 1399 class SignatureTypePrinter : public SignatureTypeNames { |
1400 private: | 1400 private: |
1401 outputStream* _st; | 1401 outputStream* _st; |
1402 bool _use_separator; | 1402 bool _use_separator; |
1403 | 1403 |
1428 name()->print_symbol_on(st); | 1428 name()->print_symbol_on(st); |
1429 st->print("("); | 1429 st->print("("); |
1430 sig.print_parameters(); | 1430 sig.print_parameters(); |
1431 st->print(")"); | 1431 st->print(")"); |
1432 } | 1432 } |
1433 | 1433 #endif // !PRODUCT || INCLUDE_JVMTI |
1434 | 1434 |
1435 | |
1436 //----------------------------------------------------------------------------------- | |
1437 // Non-product code | |
1438 | |
1439 #ifndef PRODUCT | |
1435 void Method::print_codes_on(outputStream* st) const { | 1440 void Method::print_codes_on(outputStream* st) const { |
1436 print_codes_on(0, code_size(), st); | 1441 print_codes_on(0, code_size(), st); |
1437 } | 1442 } |
1438 | 1443 |
1439 void Method::print_codes_on(int from, int to, outputStream* st) const { | 1444 void Method::print_codes_on(int from, int to, outputStream* st) const { |