// A CompiledICHolder* is a helper object for the inline cache implementation. // It holds: // (1) (method+klass pair) when converting from compiled to an interpreted call // (2) (klass+klass pair) when calling itable stub from megamorphic compiled call // // These are always allocated in the C heap and are freed during a // safepoint by the ICBuffer logic. It's unsafe to free them earlier // since they might be in use. //
class CompiledICHolder : public CHeapObj<mtCompiler> { friendclass VMStructs; private: #ifdef ASSERT staticvolatileint _live_count; // allocated staticvolatileint _live_not_claimed_count; // allocated but not yet in use so not // reachable by iterating over nmethods #endif
Metadata* _holder_metadata;
Klass* _holder_klass; // to avoid name conflict with oopDesc::_klass
CompiledICHolder* _next; bool _is_metadata_method;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.