Home | History | Annotate | Download | only in optimizing

Lines Matching defs:string

31 #include "mirror/string.h"
259 ObjPtr<mirror::String> string = nullptr;
262 // Compiling boot image. Resolve the string and allocate it if needed, to ensure
263 // the string will be added to the boot image.
265 string = class_linker->ResolveString(string_index, dex_cache);
266 CHECK(string != nullptr);
276 string = class_linker->LookupString(string_index, dex_cache.Get());
277 if (string != nullptr) {
278 if (runtime->GetHeap()->ObjectIsInBootImageSpace(string)) {
287 // AOT app compilation. Try to lookup the string without allocating if not found.
288 string = class_linker->LookupString(string_index, dex_cache.Get());
289 if (string != nullptr && runtime->GetHeap()->ObjectIsInBootImageSpace(string)) {
299 if (string != nullptr) {
300 load_string->SetString(handles->NewHandle(string));