comparison src/share/vm/ci/ciMethod.cpp @ 7212:291ffc492eb6

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Fri, 14 Dec 2012 14:35:13 +0100
parents 2cb439954abf beebba0acc11
children 5fc51c1ecdeb
comparison
equal deleted inserted replaced
7163:2ed8d74e5984 7212:291ffc492eb6
740 } 740 }
741 return -1; // unknown 741 return -1; // unknown
742 } 742 }
743 743
744 // ------------------------------------------------------------------ 744 // ------------------------------------------------------------------
745 // ciMethod::get_field_at_bci
746 ciField* ciMethod::get_field_at_bci(int bci, bool &will_link) {
747 ciBytecodeStream iter(this);
748 iter.reset_to_bci(bci);
749 iter.next();
750 return iter.get_field(will_link);
751 }
752
753 // ------------------------------------------------------------------
754 // ciMethod::get_method_at_bci
755 ciMethod* ciMethod::get_method_at_bci(int bci, bool &will_link, ciSignature* *declared_signature) {
756 ciBytecodeStream iter(this);
757 iter.reset_to_bci(bci);
758 iter.next();
759 return iter.get_method(will_link, declared_signature);
760 }
761
762 // ------------------------------------------------------------------
745 // Adjust a CounterData count to be commensurate with 763 // Adjust a CounterData count to be commensurate with
746 // interpreter_invocation_count. If the MDO exists for 764 // interpreter_invocation_count. If the MDO exists for
747 // only 25% of the time the method exists, then the 765 // only 25% of the time the method exists, then the
748 // counts in the MDO should be scaled by 4X, so that 766 // counts in the MDO should be scaled by 4X, so that
749 // they can be usefully and stably compared against the 767 // they can be usefully and stably compared against the