Home | History | Annotate | Download | only in oatdump

Lines Matching full:mirror

39 #include "mirror/art_field-inl.h"
40 #include "mirror/art_method-inl.h"
41 #include "mirror/array-inl.h"
42 #include "mirror/class-inl.h"
43 #include "mirror/object-inl.h"
44 #include "mirror/object_array-inl.h"
172 const void* GetOatCode(mirror::ArtMethod* m) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
563 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(*dex_file);
564 mirror::ClassLoader* class_loader = NULL;
621 mirror::DexCache* dex_cache = Runtime::Current()->GetClassLinker()->FindDexCache(*dex_file);
622 mirror::ClassLoader* class_loader = NULL;
698 mirror::Object* image_root_object = image_header_.GetImageRoot(image_root);
704 mirror::ObjectArray<mirror::Object>* image_root_object_array
705 = down_cast<mirror::ObjectArray<mirror::Object>*>(image_root_object);
708 mirror::Object* value = image_root_object_array->Get(i);
722 mirror::Object* oat_location_object = image_header_.GetImageRoot(ImageHeader::kOatLocation);
803 static void PrettyObjectValue(std::ostream& os, mirror::Class* type, mirror::Object* value)
809 mirror::String* string = value->AsString();
813 mirror::Class* klass = value->AsClass();
816 mirror::ArtField* field = value->AsArtField();
819 mirror::ArtMethod* method = value->AsArtMethod();
826 static void PrintField(std::ostream& os, mirror::ArtField* field, mirror::Object* obj)
832 mirror::Class* type = fh.GetType();
846 mirror::Object* value = field->GetObj(obj);
851 mirror::Class* field_type = fh.GetType(false);
861 static void DumpFields(std::ostream& os, mirror::Object* obj, mirror::Class* klass)
863 mirror::Class* super = klass->GetSuperClass();
867 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetIFields();
870 mirror::ArtField* field = fields->Get(i);
876 bool InDumpSpace(const mirror::Object* object) {
880 const void* GetOatCodeBegin(mirror::ArtMethod* m)
892 uint32_t GetOatCodeSize(mirror::ArtMethod* m)
901 const void* GetOatCodeEnd(mirror::ArtMethod* m)
910 static void Callback(mirror::Object* obj, void* arg)
925 mirror::Class* obj_class = obj->GetClass();
930 mirror::Class* klass = obj->AsClass();
949 mirror::ObjectArray<mirror::Object>* obj_array = obj->AsObjectArray<mirror::Object>();
952 mirror::Object* value = obj_array->Get(i);
967 mirror::Class* value_class = value == NULL ? obj_class->GetComponentType() : value->GetClass();
971 mirror::ObjectArray<mirror::ArtField>* sfields = obj->AsClass()->GetSFields();
977 mirror::ArtField* field = sfields->Get(i);
982 mirror::ArtMethod* method = obj->AsArtMethod();
1097 std::vector<mirror::ArtMethod*> method_outlier;
1151 void ComputeOutliers(size_t total_size, double expansion, mirror::ArtMethod* method) {