Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.cpp @ 6266:1d7922586cf6
7023639: JSR 292 method handle invocation needs a fast path for compiled code
6984705: JSR 292 method handle creation should not go through JNI
Summary: remove assembly code for JDK 7 chained method handles
Reviewed-by: jrose, twisti, kvn, mhaupt
Contributed-by: John Rose <john.r.rose@oracle.com>, Christian Thalinger <christian.thalinger@oracle.com>, Michael Haupt <michael.haupt@oracle.com>
author | twisti |
---|---|
date | Tue, 24 Jul 2012 10:51:00 -0700 |
parents | 0382d2b469b2 |
children | 957c266d8bc5 da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6241:aba91a731143 | 6266:1d7922586cf6 |
---|---|
943 | 943 |
944 // Print out more verbose output usually for a newly created nmethod. | 944 // Print out more verbose output usually for a newly created nmethod. |
945 void nmethod::print_on(outputStream* st, const char* msg) const { | 945 void nmethod::print_on(outputStream* st, const char* msg) const { |
946 if (st != NULL) { | 946 if (st != NULL) { |
947 ttyLocker ttyl; | 947 ttyLocker ttyl; |
948 CompileTask::print_compilation(st, this, msg); | 948 if (WizardMode) { |
949 if (WizardMode) st->print(" (" INTPTR_FORMAT ")", this); | 949 CompileTask::print_compilation(st, this, msg, /*short_form:*/ true); |
950 st->print_cr(" (" INTPTR_FORMAT ")", this); | |
951 } else { | |
952 CompileTask::print_compilation(st, this, msg, /*short_form:*/ false); | |
953 } | |
950 } | 954 } |
951 } | 955 } |
952 | 956 |
953 | 957 |
954 void nmethod::print_nmethod(bool printmethod) { | 958 void nmethod::print_nmethod(bool printmethod) { |
962 print(); | 966 print(); |
963 // then print the requested information | 967 // then print the requested information |
964 if (printmethod) { | 968 if (printmethod) { |
965 print_code(); | 969 print_code(); |
966 print_pcs(); | 970 print_pcs(); |
967 oop_maps()->print(); | 971 if (oop_maps()) { |
972 oop_maps()->print(); | |
973 } | |
968 } | 974 } |
969 if (PrintDebugInfo) { | 975 if (PrintDebugInfo) { |
970 print_scopes(); | 976 print_scopes(); |
971 } | 977 } |
972 if (PrintRelocations) { | 978 if (PrintRelocations) { |