diff options
author | 2013-06-10 16:18:04 -0700 | |
---|---|---|
committer | 2013-06-10 16:18:04 -0700 | |
commit | 7675e16bcae06c0fe258aad89b3d511037dec399 (patch) | |
tree | 7b1ef4555225ba2e6d9b63fe61549c52d291a757 /src/class_linker.cc | |
parent | 5f4bd97519aad4f075346f8c5c0a84c6105951d8 (diff) |
Rename art-cache to dalvik-cache
Change-Id: I294995066aecc29fbd739c3e9e6f60934f743064
Diffstat (limited to 'src/class_linker.cc')
-rw-r--r-- | src/class_linker.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/class_linker.cc b/src/class_linker.cc index cfad9d1b7d..85bd9f6be4 100644 --- a/src/class_linker.cc +++ b/src/class_linker.cc @@ -884,9 +884,9 @@ const DexFile* ClassLinker::FindDexFileInOatFileFromDexLocation(const std::strin return dex_file; } } - // Look for an existing file in the art-cache, validating the result if found - // not found in /foo/bar/baz.oat? try /data/art-cache/foo@bar@baz.oat - std::string cache_location(GetArtCacheFilenameOrDie(oat_filename)); + // Look for an existing file in the dalvik-cache, validating the result if found + // not found in /foo/bar/baz.oat? try /data/dalvik-cache/foo@bar@baz.oat + std::string cache_location(GetDalvikCacheFilenameOrDie(oat_filename)); oat_file = FindOatFileFromOatLocationLocked(cache_location); if (oat_file != NULL) { uint32_t dex_location_checksum; @@ -907,7 +907,7 @@ const DexFile* ClassLinker::FindDexFileInOatFileFromDexLocation(const std::strin LOG(INFO) << "Failed to open oat file from " << oat_filename << " or " << cache_location << "."; // Try to generate oat file if it wasn't found or was obsolete. - std::string oat_cache_filename(GetArtCacheFilenameOrDie(oat_filename)); + std::string oat_cache_filename(GetDalvikCacheFilenameOrDie(oat_filename)); return FindOrCreateOatFileForDexLocationLocked(dex_location, oat_cache_filename); } |