summaryrefslogtreecommitdiff
path: root/runtime/class_linker-inl.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2017-01-05 15:27:03 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2017-01-05 15:27:03 +0000
commitbf34a030566fbc4571aa4841e9ddf8bc4d3d71a8 (patch)
treea3846c4d2320037005b14aaeb87d9e5081a974d1 /runtime/class_linker-inl.h
parent77e9bddee965b1cefdc77264e4ed3a19e90cc2ac (diff)
Remove racy DCHECK on string dex cache.
Test: test-art-host Change-Id: I58940031d43d89f434d3c3239a218b99ebb1106b
Diffstat (limited to 'runtime/class_linker-inl.h')
-rw-r--r--runtime/class_linker-inl.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/class_linker-inl.h b/runtime/class_linker-inl.h
index a11257f21b..cdcc84ddc3 100644
--- a/runtime/class_linker-inl.h
+++ b/runtime/class_linker-inl.h
@@ -81,9 +81,6 @@ inline mirror::String* ClassLinker::ResolveString(dex::StringIndex string_idx,
Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache()));
const DexFile& dex_file = *dex_cache->GetDexFile();
string = ResolveString(dex_file, string_idx, dex_cache);
- if (string != nullptr) {
- DCHECK_EQ(dex_cache->GetResolvedString(string_idx), string);
- }
}
return string.Ptr();
}