#include <lookupCache.hpp>
Inheritance diagram for LookupResult:
Public Member Functions | |
LookupResult () | |
LookupResult (methodOop method) | |
LookupResult (nmethod *nm) | |
void | clear () |
bool | is_empty () const |
bool | is_method () const |
bool | is_entry () const |
bool | matches (methodOop m) const |
bool | matches (nmethod *nm) const |
oop | value () const |
methodOop | method () const |
methodOop | method_or_null () const |
jumpTableEntry * | entry () const |
nmethod * | get_nmethod () const |
void | set (methodOop method) |
void | set (nmethod *nm) |
void | print_on (outputStream *st) const |
void | print_short_on (outputStream *st) const |
Protected Attributes | |
oop | _result |
Definition at line 32 of file lookupCache.hpp.
LookupResult::LookupResult | ( | ) | [inline] |
Definition at line 38 of file lookupCache.hpp.
References clear().
Here is the call graph for this function:
LookupResult::LookupResult | ( | methodOop | method | ) | [inline] |
Definition at line 39 of file lookupCache.hpp.
References method(), and set().
Here is the call graph for this function:
LookupResult::LookupResult | ( | nmethod * | nm | ) | [inline] |
Definition at line 40 of file lookupCache.hpp.
References set().
Here is the call graph for this function:
void LookupResult::clear | ( | ) | [inline] |
Definition at line 43 of file lookupCache.hpp.
References _result.
Referenced by cacheElement::clear(), DeltaCallCache::clear(), and LookupResult().
jumpTableEntry * LookupResult::entry | ( | ) | const |
Definition at line 44 of file lookupCache.cpp.
References _result, assert, is_empty(), and is_entry().
Referenced by Delta::call_generic(), get_nmethod(), matches(), InterpretedIC::replace(), and InterpretedIC::update_inline_cache().
Here is the call graph for this function:
nmethod * LookupResult::get_nmethod | ( | ) | const |
Definition at line 49 of file lookupCache.cpp.
References entry().
Referenced by method(), method_or_null(), PRIM_DECL_2(), and cacheElement::verify().
Here is the call graph for this function:
bool LookupResult::is_empty | ( | ) | const [inline] |
Definition at line 46 of file lookupCache.hpp.
References _result.
Referenced by Delta::call_generic(), entry(), InterpretedIC::inline_cache_miss(), lookupCache::lookup(), DeltaCallCache::lookup(), matches(), method(), method_or_null(), PRIM_DECL_2(), print_on(), print_short_on(), InterpretedIC::replace(), and cacheElement::verify().
bool LookupResult::is_entry | ( | ) | const [inline] |
Definition at line 48 of file lookupCache.hpp.
References is_method().
Referenced by entry(), matches(), InterpretedIC::replace(), InterpretedIC::update_inline_cache(), and cacheElement::verify().
Here is the call graph for this function:
bool LookupResult::is_method | ( | ) | const [inline] |
Definition at line 47 of file lookupCache.hpp.
References _result, and oopDesc::is_mem().
Referenced by is_entry(), lookupCache::lookup(), matches(), method(), method_or_null(), PRIM_DECL_2(), InterpretedIC::replace(), and cacheElement::verify().
Here is the call graph for this function:
bool LookupResult::matches | ( | nmethod * | nm | ) | const |
Definition at line 59 of file lookupCache.cpp.
References entry(), is_empty(), and is_entry().
Here is the call graph for this function:
Definition at line 54 of file lookupCache.cpp.
References is_empty(), is_method(), and method().
Referenced by InterpretedIC::cleanup().
Here is the call graph for this function:
methodOop LookupResult::method | ( | ) | const |
Definition at line 31 of file lookupCache.cpp.
References _result, assert, get_nmethod(), is_empty(), and is_method().
Referenced by LookupResult(), matches(), PRIM_DECL_2(), print_on(), InterpretedIC::replace(), set(), and InterpretedIC::update_inline_cache().
Here is the call graph for this function:
methodOop LookupResult::method_or_null | ( | ) | const |
Definition at line 38 of file lookupCache.cpp.
References _result, get_nmethod(), is_empty(), and is_method().
Referenced by lookupCache::compile_time_normal_lookup(), and lookupCache::compile_time_super_lookup().
Here is the call graph for this function:
void LookupResult::print_on | ( | outputStream * | st | ) | const |
Definition at line 64 of file lookupCache.cpp.
References is_empty(), method(), outputStream::print(), oopDesc::print_value_on(), and value().
Referenced by cacheElement::verify().
Here is the call graph for this function:
void LookupResult::print_short_on | ( | outputStream * | st | ) | const |
Definition at line 73 of file lookupCache.cpp.
References is_empty(), outputStream::print(), and value().
Referenced by InterpretedIC::trace_inline_cache_miss().
Here is the call graph for this function:
void LookupResult::set | ( | nmethod * | nm | ) | [inline] |
void LookupResult::set | ( | methodOop | method | ) | [inline] |
Definition at line 63 of file lookupCache.hpp.
References _result, assert, oopDesc::is_method(), and method().
Referenced by LookupResult().
Here is the call graph for this function:
oop LookupResult::value | ( | ) | const [inline] |
Definition at line 56 of file lookupCache.hpp.
References _result.
Referenced by Delta::call_generic(), InterpretedIC::cleanup(), lookupCache::normal_lookup(), print_on(), print_short_on(), and InterpretedIC::update_inline_cache().
oop LookupResult::_result [protected] |
Definition at line 34 of file lookupCache.hpp.
Referenced by clear(), entry(), is_empty(), is_method(), method(), method_or_null(), set(), and value().