/art/runtime/ |
D | intern_table_test.cc | 33 Handle<mirror::String> foo_1(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 34 Handle<mirror::String> foo_2(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 36 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F() 37 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar"))); in TEST_F() 56 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "foo"))); in TEST_F() 104 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello"))); in TEST_F() 106 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "world"))); in TEST_F() 107 Handle<mirror::String> s0(hs.NewHandle(t.InternWeak(hello.Get()))); in TEST_F() 108 Handle<mirror::String> s1(hs.NewHandle(t.InternWeak(world.Get()))); in TEST_F() 125 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "still here"))); in TEST_F() [all …]
|
D | proxy_test.cc | 114 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in TEST_F() 116 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 118 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 126 Handle<mirror::Class> proxy_class(hs.NewHandle( in TEST_F() 148 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in TEST_F() 150 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 152 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 162 proxyClass = hs.NewHandle(GenerateProxyClass(soa, jclass_loader, "$Proxy1234", interfaces)); in TEST_F() 170 hs.NewHandle(proxyClass->GetIFields())); in TEST_F() 174 hs.NewHandle(proxyClass->GetSFields())); in TEST_F() [all …]
|
D | transaction_test.cc | 33 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() 38 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 52 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() 54 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 80 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F() 90 hs.NewHandle( in TEST_F() 107 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Transaction")))); in TEST_F() 111 hs.NewHandle(class_linker_->FindClass(soa.Self(), "LStaticFieldsTest;", class_loader))); in TEST_F() 165 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() 167 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() [all …]
|
D | class_linker-inl.h | 49 Handle<mirror::ClassLoader> class_loader(hs.NewHandle((*element_class)->GetClassLoader())); in FindArrayClass() 65 Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveString() 81 Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveType() 82 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType() 97 Handle<mirror::DexCache> dex_cache(hs.NewHandle(dex_cache_ptr)); in ResolveType() 98 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType() 126 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveMethod() 127 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveMethod() 148 Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveField() 149 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveField()
|
D | monitor_test.cc | 67 Handle<mirror::Class> c((*hsp)->NewHandle(class_linker->FindSystemClass(self, in FillHeap() 70 Handle<mirror::Class> ca((*hsp)->NewHandle(class_linker->FindSystemClass(self, in FillHeap() 76 Handle<mirror::Object> h((*hsp)->NewHandle<mirror::Object>( in FillHeap() 95 Handle<mirror::Object> h = (*hsp)->NewHandle<mirror::Object>(c->AllocObject(self)); in FillHeap() 297 test->object_ = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(Thread::Current(), in CommonWaitSetup() 299 test->watchdog_object_ = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(Thread::Current(), in CommonWaitSetup()
|
D | class_linker_test.cc | 107 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in AssertArrayClass() 109 hs.NewHandle(class_linker_->FindClass(self, array_descriptor.c_str(), loader))); in AssertArrayClass() 185 FieldHelper fh(hs.NewHandle(field)); in AssertField() 281 FieldHelper fh(hs.NewHandle<mirror::ArtField>(nullptr)); in AssertClass() 317 hs.NewHandle(class_linker_->FindSystemClass(self, descriptor.c_str()))); in AssertDexFileClass() 648 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("Nested")))); in TEST_F() 720 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(LoadDex("MyClass")))); in TEST_F() 788 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F() 793 Handle<mirror::DoubleArray> double_array(hs.NewHandle(mirror::DoubleArray::Alloc(soa.Self(), 0))); in TEST_F() 798 Handle<mirror::IntArray> int_array(hs.NewHandle(mirror::IntArray::Alloc(soa.Self(), 0))); in TEST_F() [all …]
|
D | class_linker.cc | 218 Handle<mirror::Class> java_lang_Class(hs.NewHandle(down_cast<mirror::Class*>( in InitWithoutImage() 233 Handle<mirror::Class> class_array_class(hs.NewHandle( in InitWithoutImage() 238 Handle<mirror::Class> java_lang_Object(hs.NewHandle( in InitWithoutImage() 246 Handle<mirror::Class> object_array_class(hs.NewHandle( in InitWithoutImage() 251 Handle<mirror::Class> char_class(hs.NewHandle( in InitWithoutImage() 255 Handle<mirror::Class> char_array_class(hs.NewHandle( in InitWithoutImage() 262 Handle<mirror::Class> java_lang_String(hs.NewHandle( in InitWithoutImage() 269 Handle<mirror::Class> java_lang_ref_Reference(hs.NewHandle( in InitWithoutImage() 302 Handle<mirror::Class> int_array_class(hs.NewHandle( in InitWithoutImage() 311 Handle<mirror::Class> java_lang_DexCache(hs.NewHandle( in InitWithoutImage() [all …]
|
D | quick_exception_handler.cc | 79 return HandleTryItems(hs.NewHandle(method)); in VisitFrame() 92 Handle<mirror::Class> to_find(hs.NewHandle((*exception_)->GetClass())); in HandleTryItems() 127 Handle<mirror::Throwable> exception_ref(hs.NewHandle(exception)); in FindCatch() 211 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in HandleDeoptimization() 212 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in HandleDeoptimization()
|
/art/runtime/mirror/ |
D | object_test.cc | 63 hs.NewHandle(String::AllocFromModifiedUtf8(self, expected_utf16_length, utf8_in))); in AssertString() 113 hs.NewHandle(class_linker_->AllocObjectArray<Object>(soa.Self(), 256))); in TEST_F() 124 hs.NewHandle(class_linker_->AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F() 149 Handle<mirror::Class> klass(hs.NewHandle(oa->GetClass())); in TEST_F() 162 hs.NewHandle(Array::Alloc<true>(soa.Self(), c, 1, c->GetComponentSize(), in TEST_F() 185 hs.NewHandle(Array::Alloc<true>(soa.Self(), c, 1, c->GetComponentSize(), in TEST_F() 286 Handle<Class> c(hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "I"))); in TEST_F() 287 Handle<IntArray> dims(hs.NewHandle(IntArray::Alloc(soa.Self(), 1))); in TEST_F() 325 Handle<mirror::ClassLoader> loader(hs.NewHandle(soa.Decode<ClassLoader*>(class_loader))); in TEST_F() 353 Handle<CharArray> char_array(hs.NewHandle(CharArray::Alloc(soa.Self(), 0))); in TEST_F() [all …]
|
D | array.cc | 50 hs.NewHandle( in RecursiveCreateMultiArray() 61 Handle<mirror::Class> h_component_type(hs.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray() 98 hs.NewHandle(class_linker->FindArrayClass(self, &element_class_ptr))); in CreateMultiArray()
|
D | object.cc | 127 Handle<Object> this_object(hs.NewHandle(this)); in Clone() 169 Handle<mirror::Object> h_this(hs.NewHandle(current_this)); in IdentityHashCode() 209 FieldHelper fh(hs.NewHandle(field)); in CheckFieldAssignmentImpl() 228 FieldHelper fh(hs.NewHandle(field)); in CheckFieldAssignmentImpl()
|
D | art_method.cc | 145 MethodHelper mh(hs.NewHandle(this)); in FindOverriddenMethod() 146 MethodHelper interface_mh(hs.NewHandle<mirror::ArtMethod>(nullptr)); in FindOverriddenMethod() 162 MethodHelper result_mh(hs.NewHandle(result)); in FindOverriddenMethod() 163 MethodHelper this_mh(hs.NewHandle(this)); in FindOverriddenMethod() 241 Handle<mirror::Throwable> exception(hs.NewHandle(self->GetException(&throw_location))); in FindCatchBlock()
|
D | class.cc | 84 Handle<mirror::Throwable> old_exception(hs.NewHandle(self->GetException(&old_throw_location))); in SetStatus() 86 Handle<mirror::Object> old_throw_this_object(hs.NewHandle(old_throw_location.GetThis())); in SetStatus() 87 Handle<mirror::ArtMethod> old_throw_method(hs.NewHandle(old_throw_location.GetMethod())); in SetStatus() 217 Handle<mirror::Class> h_this(hs.NewHandle(this)); in DumpClass() 218 Handle<mirror::Class> h_super(hs.NewHandle(GetSuperClass())); in DumpClass() 641 Handle<mirror::Class> interface(hs.NewHandle(GetDirectInterface(self, h_k, i))); in FindStaticField() 665 Handle<mirror::Class> interface(hs.NewHandle(GetDirectInterface(self, h_k, i))); in FindStaticField() 693 Handle<mirror::Class> interface(hs.NewHandle(GetDirectInterface(self, h_k, i))); in FindField() 885 Handle<mirror::Class> h_this(hs.NewHandle(this)); in CopyOf()
|
/art/compiler/dex/ |
D | mir_field_info.cc | 47 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 49 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve() 50 Handle<mirror::Class> referrer_class(hs.NewHandle( in Resolve() 94 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 96 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve() 97 Handle<mirror::Class> referrer_class(hs.NewHandle( in Resolve()
|
D | mir_method_info.cc | 49 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 51 hs.NewHandle(compiler_driver->GetClassLoader(soa, mUnit))); in Resolve() 52 Handle<mirror::Class> referrer_class(hs.NewHandle( in Resolve()
|
/art/runtime/arch/ |
D | stub_test.cc | 613 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!"))); in TEST_F() 637 Handle<mirror::String> obj2(hs.NewHandle( in TEST_F() 686 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!"))); in TestUnlockObject() 729 objects[i] = hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "")); in TestUnlockObject() 835 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F() 837 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"))); in TEST_F() 888 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "Ljava/lang/Object;"))); in TEST_F() 890 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/String;"))); in TEST_F() 894 hs.NewHandle(mirror::ObjectArray<mirror::Object>::Alloc(soa.Self(), ca.Get(), 10))); in TEST_F() 898 hs.NewHandle(mirror::String::AllocFromModifiedUtf8(soa.Self(), "hello, world!"))); in TEST_F() [all …]
|
/art/compiler/driver/ |
D | compiler_driver.cc | 583 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(jclass_loader))); in CompileOne() 674 MethodHelper mh(hs.NewHandle<mirror::ArtMethod>(nullptr)); in ResolveCatchBlockExceptionsClassVisitor() 712 hs.NewHandle(class_linker->FindSystemClass(self, descriptor.c_str()))); in LoadImageClasses() 728 hs.NewHandle(class_linker->FindSystemClass(self, "Ljava/lang/Throwable;"))); in LoadImageClasses() 737 Handle<mirror::DexCache> dex_cache(hs.NewHandle(class_linker->FindDexCache(*dex_file))); in LoadImageClasses() 738 Handle<mirror::Class> klass(hs.NewHandle( in LoadImageClasses() 765 Handle<mirror::Class> klass(hs.NewHandle(c.Get())); in MaybeAddToImageClasses() 776 MaybeAddToImageClasses(hs.NewHandle(mirror::Class::GetDirectInterface(self, klass, i)), in MaybeAddToImageClasses() 781 MaybeAddToImageClasses(hs.NewHandle(klass->GetComponentType()), image_classes); in MaybeAddToImageClasses() 792 MaybeAddToImageClasses(hs.NewHandle(object->GetClass()), compiler_driver->image_classes_.get()); in FindClinitImageClassesCallback() [all …]
|
/art/runtime/native/ |
D | java_lang_Class.cc | 64 …Handle<mirror::ClassLoader> class_loader(hs.NewHandle(soa.Decode<mirror::ClassLoader*>(javaLoader)… in Class_classForName() 67 hs.NewHandle(class_linker->FindClass(soa.Self(), descriptor.c_str(), class_loader))); in Class_classForName() 90 return soa.AddLocalReference<jstring>(mirror::Class::ComputeName(hs.NewHandle(c))); in Class_getNameNative()
|
D | java_lang_reflect_Array.cc | 32 Handle<mirror::Class> element_class(hs.NewHandle(soa.Decode<mirror::Class*>(javaElementClass))); in Array_createMultiArray() 40 hs.NewHandle(down_cast<mirror::IntArray*>(dimensions_obj))); in Array_createMultiArray()
|
/art/runtime/gc/ |
D | heap_test.cc | 49 hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[Ljava/lang/Object;"))); in TEST_F() 52 Handle<mirror::ObjectArray<mirror::Object>> array(hs.NewHandle( in TEST_F()
|
/art/runtime/gc/space/ |
D | space_test.h | 52 auto null_loader(hs.NewHandle<mirror::ClassLoader>(nullptr)); in GetByteArrayClass() 67 Handle<mirror::Class> byte_array_class(hs.NewHandle(GetByteArrayClass(self))); in Alloc() 79 Handle<mirror::Class> byte_array_class(hs.NewHandle(GetByteArrayClass(self))); in AllocWithGrowth() 185 hs.NewHandle(Alloc(space, self, 1 * MB, &ptr1_bytes_allocated, &ptr1_usable_size))); in ZygoteSpaceTestBody() 198 hs.NewHandle(AllocWithGrowth(space, self, 8 * MB, &ptr3_bytes_allocated, &ptr3_usable_size))); in ZygoteSpaceTestBody() 221 hs.NewHandle(AllocWithGrowth(space, self, 9 * MB, &ptr6_bytes_allocated, &ptr6_usable_size))); in ZygoteSpaceTestBody() 288 hs.NewHandle(Alloc(space, self, 1 * MB, &ptr1_bytes_allocated, &ptr1_usable_size))); in AllocAndFreeTestBody() 301 hs.NewHandle(AllocWithGrowth(space, self, 8 * MB, &ptr3_bytes_allocated, &ptr3_usable_size))); in AllocAndFreeTestBody() 324 hs.NewHandle(AllocWithGrowth(space, self, 9 * MB, &ptr6_bytes_allocated, &ptr6_usable_size))); in AllocAndFreeTestBody() 423 auto object(hs.NewHandle<mirror::Object>(nullptr)); in SizeFootPrintGrowthLimitAndTrimBody() [all …]
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 389 catch_method_(handle_scope_.NewHandle<mirror::ArtMethod>(nullptr)), in CatchLocationFinder() 412 Handle<mirror::Class> exception_class(hs.NewHandle((*exception_)->GetClass())); in VisitFrame() 413 Handle<mirror::ArtMethod> h_method(hs.NewHandle(method)); in VisitFrame() 457 Handle<mirror::Throwable> exception(hs.NewHandle(self->GetException(&throw_location))); in FindNextInstructionFollowingException() 468 Handle<mirror::Class> exception_class(hs.NewHandle(exception->GetClass())); in FindNextInstructionFollowingException() 469 Handle<mirror::ArtMethod> h_method(hs.NewHandle(shadow_frame.GetMethod())); in FindNextInstructionFollowingException() 546 MethodHelper mh(hs.NewHandle(method)); in DoCall() 786 Handle<mirror::Class> h_class(hs.NewHandle(found)); in UnstartedRuntimeFindClass() 805 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedRuntimeInvoke() 811 Handle<mirror::String> h_class_name(hs.NewHandle(class_name)); in UnstartedRuntimeInvoke() [all …]
|
/art/runtime/entrypoints/portable/ |
D | portable_trampoline_entrypoints.cc | 199 MethodHelper mh(hs.NewHandle(method)); in artPortableToInterpreterBridge() 217 Handle<mirror::Class> h_class(hs.NewHandle(method->GetDeclaringClass())); in artPortableToInterpreterBridge() 297 MethodHelper proxy_mh(hs.NewHandle(proxy_method)); in artPortableProxyInvokeHandler() 401 Handle<mirror::Class> called_class(hs.NewHandle(called->GetDeclaringClass())); in artPortableResolutionTrampoline()
|
/art/compiler/ |
D | image_writer.cc | 259 mirror::Class::ComputeName(hs.NewHandle(c)); in ComputeLazyFieldsForClassesVisitor() 421 Handle<Class> object_array_class(hs.NewHandle( in CreateImageRoots() 435 hs.NewHandle(ObjectArray<Object>::Alloc(self, object_array_class.Get(), in CreateImageRoots() 448 Handle<ObjectArray<Object>> image_roots(hs.NewHandle( in CreateImageRoots() 472 Handle<mirror::Class> h_class(hs.NewHandle(klass)); in WalkInstanceFields() 494 Handle<mirror::Object> h_obj(hs.NewHandle(obj)); in WalkFieldsInOrder() 495 Handle<mirror::Class> klass(hs.NewHandle(obj->GetClass())); in WalkFieldsInOrder() 534 Handle<ObjectArray<Object>> image_roots(hs.NewHandle(CreateImageRoots())); in CalculateNewObjectOffsets()
|
/art/runtime/entrypoints/interpreter/ |
D | interpreter_entrypoints.cc | 38 Handle<mirror::Class> h_class(hs.NewHandle(declaringClass)); in artInterpreterToCompiledCodeBridge()
|