Mercurial > hg > truffle
comparison src/share/vm/interpreter/interpreterRuntime.cpp @ 6147:5ba29a1db46e hs24-b14
Merge
author | amurillo |
---|---|
date | Fri, 15 Jun 2012 14:07:00 -0700 |
parents | e2fe93124108 |
children | d2a62e0f25eb 8150fa46d2ed 56c4f88474b3 |
comparison
equal
deleted
inserted
replaced
6114:b38fb5f31e31 | 6147:5ba29a1db46e |
---|---|
842 frame fr = thread->last_frame(); | 842 frame fr = thread->last_frame(); |
843 methodOop method = fr.interpreter_frame_method(); | 843 methodOop method = fr.interpreter_frame_method(); |
844 int bci = method->bci_from(fr.interpreter_frame_bcp()); | 844 int bci = method->bci_from(fr.interpreter_frame_bcp()); |
845 nm = method->lookup_osr_nmethod_for(bci, CompLevel_none, false); | 845 nm = method->lookup_osr_nmethod_for(bci, CompLevel_none, false); |
846 } | 846 } |
847 #ifndef PRODUCT | |
848 if (TraceOnStackReplacement) { | |
849 if (nm != NULL) { | |
850 tty->print("OSR entry @ pc: " INTPTR_FORMAT ": ", nm->osr_entry()); | |
851 nm->print(); | |
852 } | |
853 } | |
854 #endif | |
847 return nm; | 855 return nm; |
848 } | 856 } |
849 | 857 |
850 IRT_ENTRY(nmethod*, | 858 IRT_ENTRY(nmethod*, |
851 InterpreterRuntime::frequency_counter_overflow_inner(JavaThread* thread, address branch_bcp)) | 859 InterpreterRuntime::frequency_counter_overflow_inner(JavaThread* thread, address branch_bcp)) |