#include <interpretedIC.hpp>
Inheritance diagram for InterpretedIC_Iterator:
Public Member Functions | |
InterpretedIC_Iterator (InterpretedIC *ic) | |
int | number_of_targets () const |
IC_Shape | shape () const |
symbolOop | selector () const |
bool | is_interpreted_ic () const |
bool | is_super_send () const |
InterpretedIC * | interpreted_ic () const |
void | init_iteration () |
void | advance () |
bool | at_end () const |
klassOop | klass () const |
bool | is_interpreted () const |
bool | is_compiled () const |
methodOop | interpreted_method () const |
nmethod * | compiled_method () const |
void | print () |
Private Member Functions | |
void | set_method (oop m) |
void | set_klass (oop k) |
Private Attributes | |
InterpretedIC * | _ic |
objArrayOop | _pic |
int | _number_of_targets |
IC_Shape | _info |
int | _index |
klassOop | _klass |
methodOop | _method |
nmethod * | _nm |
Definition at line 122 of file interpretedIC.hpp.
InterpretedIC_Iterator::InterpretedIC_Iterator | ( | InterpretedIC * | ic | ) |
Definition at line 619 of file interpretedIC.cpp.
References _ic, and init_iteration().
Here is the call graph for this function:
void InterpretedIC_Iterator::advance | ( | ) | [virtual] |
Implements IC_Iterator.
Definition at line 709 of file interpretedIC.cpp.
References _ic, _index, _pic, assert, at_end(), InterpretedIC::first_word(), objArrayOopDesc::obj_at(), InterpretedIC::second_word(), set_klass(), and set_method().
Referenced by InterpretedIC::print().
Here is the call graph for this function:
bool InterpretedIC_Iterator::at_end | ( | ) | const [inline, virtual] |
Implements IC_Iterator.
Definition at line 153 of file interpretedIC.hpp.
References _index, and number_of_targets().
Referenced by advance(), and InterpretedIC::print().
Here is the call graph for this function:
nmethod * InterpretedIC_Iterator::compiled_method | ( | ) | const [virtual] |
Implements IC_Iterator.
Definition at line 742 of file interpretedIC.cpp.
References _nm, fatal, and is_compiled().
Referenced by interpreted_method(), and InterpretedIC::print().
Here is the call graph for this function:
void InterpretedIC_Iterator::init_iteration | ( | ) | [virtual] |
Implements IC_Iterator.
Definition at line 644 of file interpretedIC.cpp.
References _ic, _index, _info, _method, _number_of_targets, _pic, Bytecodes::accessor_send, anamorphic, assert, Bytecodes::compiled_send, InterpretedIC::first_word(), Bytecodes::interpreted_send, interpreter_normal_lookup(), is_compiled(), InterpretedIC::is_empty(), is_interpreted(), oopDesc::is_mem(), oopDesc::is_smi(), objArrayOopDesc::length(), megamorphic, Bytecodes::megamorphic_send, monomorphic, number_of_targets(), objArrayOopDesc::obj_at(), polymorphic, Bytecodes::polymorphic_send, Bytecodes::predicted_send, Bytecodes::primitive_send, InterpretedIC::second_word(), selector(), InterpretedIC::send_type(), set_klass(), set_method(), ShouldNotReachHere, and smiKlassObj.
Referenced by InterpretedIC_Iterator().
Here is the call graph for this function:
InterpretedIC* InterpretedIC_Iterator::interpreted_ic | ( | ) | const [inline, virtual] |
methodOop InterpretedIC_Iterator::interpreted_method | ( | ) | const [virtual] |
Implements IC_Iterator.
Definition at line 728 of file interpretedIC.cpp.
References _method, assert, compiled_method(), is_interpreted(), memOopDesc::is_old(), and memOopDesc::verify().
Referenced by InterpretedIC::print().
Here is the call graph for this function:
bool InterpretedIC_Iterator::is_compiled | ( | ) | const [inline, virtual] |
Implements IC_Iterator.
Definition at line 160 of file interpretedIC.hpp.
References _nm.
Referenced by compiled_method(), and init_iteration().
bool InterpretedIC_Iterator::is_interpreted | ( | ) | const [inline, virtual] |
Implements IC_Iterator.
Definition at line 159 of file interpretedIC.hpp.
References _nm.
Referenced by init_iteration(), interpreted_method(), and InterpretedIC::print().
bool InterpretedIC_Iterator::is_interpreted_ic | ( | ) | const [inline, virtual] |
bool InterpretedIC_Iterator::is_super_send | ( | ) | const [virtual] |
Implements IC_Iterator.
Definition at line 752 of file interpretedIC.cpp.
References _ic, Bytecodes::is_super_send(), and InterpretedIC::send_code().
Here is the call graph for this function:
klassOop InterpretedIC_Iterator::klass | ( | ) | const [inline, virtual] |
Implements IC_Iterator.
Definition at line 156 of file interpretedIC.hpp.
References _klass.
Referenced by InterpretedIC::print().
int InterpretedIC_Iterator::number_of_targets | ( | ) | const [inline, virtual] |
Implements IC_Iterator.
Definition at line 142 of file interpretedIC.hpp.
References _number_of_targets.
Referenced by at_end(), and init_iteration().
void InterpretedIC_Iterator::print | ( | ) | [virtual] |
Implements PrintableResourceObj.
Definition at line 757 of file interpretedIC.cpp.
References _ic, outputStream::print_cr(), selector(), and std.
Here is the call graph for this function:
symbolOop InterpretedIC_Iterator::selector | ( | ) | const [inline, virtual] |
Implements IC_Iterator.
Definition at line 144 of file interpretedIC.hpp.
References _ic, and InterpretedIC::selector().
Referenced by init_iteration(), and print().
Here is the call graph for this function:
void InterpretedIC_Iterator::set_klass | ( | oop | k | ) | [private] |
Definition at line 625 of file interpretedIC.cpp.
References _klass, assert, and oopDesc::is_klass().
Referenced by advance(), and init_iteration().
Here is the call graph for this function:
void InterpretedIC_Iterator::set_method | ( | oop | m | ) | [private] |
Definition at line 631 of file interpretedIC.cpp.
References _method, _nm, assert, oopDesc::is_mem(), and oopDesc::is_method().
Referenced by advance(), and init_iteration().
Here is the call graph for this function:
IC_Shape InterpretedIC_Iterator::shape | ( | ) | const [inline, virtual] |
InterpretedIC* InterpretedIC_Iterator::_ic [private] |
Definition at line 124 of file interpretedIC.hpp.
Referenced by advance(), init_iteration(), interpreted_ic(), InterpretedIC_Iterator(), is_super_send(), print(), and selector().
int InterpretedIC_Iterator::_index [private] |
Definition at line 130 of file interpretedIC.hpp.
Referenced by advance(), at_end(), and init_iteration().
IC_Shape InterpretedIC_Iterator::_info [private] |
klassOop InterpretedIC_Iterator::_klass [private] |
methodOop InterpretedIC_Iterator::_method [private] |
Definition at line 132 of file interpretedIC.hpp.
Referenced by init_iteration(), interpreted_method(), and set_method().
nmethod* InterpretedIC_Iterator::_nm [private] |
Definition at line 133 of file interpretedIC.hpp.
Referenced by compiled_method(), is_compiled(), is_interpreted(), and set_method().
int InterpretedIC_Iterator::_number_of_targets [private] |
Definition at line 128 of file interpretedIC.hpp.
Referenced by init_iteration(), and number_of_targets().
objArrayOop InterpretedIC_Iterator::_pic [private] |