// Used to manually initialize the ext-ids arrays for the ClassExt associated // with the Class<ClassExt>. This simplifies the id allocation path.
EXPORT void SetIdsArraysForClassExtExtData(ObjPtr<Object> marker)
REQUIRES_SHARED(Locks::mutator_lock_);
// Extend the obsolete arrays by the given amount.
EXPORT staticbool ExtendObsoleteArrays(Handle<ClassExt> h_this, Thread* self, uint32_t increase)
REQUIRES_SHARED(Locks::mutator_lock_);
// NO_THREAD_SAFETY_ANALYSIS for dex_lock and heap_bitmap_lock_ as both are at // higher lock-level than class-table's lock, which is already acquired and // is at lower (kClassLoaderClassesLock) level. template<VerifyObjectFlags kVerifyFlags = kDefaultVerifyFlags,
ReadBarrierOption kReadBarrierOption = kWithReadBarrier> inlinevoid VisitDexCaches(DexCacheVisitor& visitor)
NO_THREAD_SAFETY_ANALYSIS
REQUIRES_SHARED(Locks::mutator_lock_);
// TODO Save the obsolete class, if we have one. // TODO We need this so jit-cleanup can work. the obsolete class might get cleaned up early // otherwise. We should remove the need for this. template<VerifyObjectFlags kVerifyFlags = kDefaultVerifyFlags,
ReadBarrierOption kReadBarrierOption = kWithReadBarrier>
ObjPtr<Class> GetObsoleteClass() REQUIRES_SHARED(Locks::mutator_lock_);
EXPORT void SetObsoleteClass(ObjPtr<Class> classes) REQUIRES_SHARED(Locks::mutator_lock_);
// Backing store of user-defined values pertaining to a class. // Maintained by the ClassValue class.
HeapReference<Object> class_value_map_;
// The saved error for this class being erroneous.
HeapReference<Throwable> erroneous_state_error_;
// Field order required by test "ValidateFieldOrderOfJavaCppUnionClasses". // An array containing the jfieldIDs assigned to each field in the corresponding position in the // classes ifields_ array or '0' if no id has been assigned to that field yet.
HeapReference<PointerArray> instance_jfield_ids_;
// An array containing the jmethodIDs assigned to each method in the corresponding position in // the classes methods_ array or '0' if no id has been assigned to that method yet.
HeapReference<PointerArray> jmethod_ids_;
// If set this is the Class object that was being used before a structural redefinition occurred.
HeapReference<Class> obsolete_class_;
// An array containing the jfieldIDs assigned to each field in the corresponding position in the // classes sfields_ array or '0' if no id has been assigned to that field yet.
HeapReference<PointerArray> static_jfield_ids_;
int32_t pre_redefine_class_def_index_;
// Native pointer to DexFile and ClassDef index of this class before it was JVMTI-redefined.
int64_t pre_redefine_dex_file_ptr_;
friendstruct art::ClassExtOffsets; // for verifying offset information
DISALLOW_IMPLICIT_CONSTRUCTORS(ClassExt);
};
} // namespace mirror
} // namespace art
#endif// ART_RUNTIME_MIRROR_CLASS_EXT_H_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-06-29)
¤
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.