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 |