summaryrefslogtreecommitdiff
path: root/runtime/jit/jit_code_cache.cc
diff options
context:
space:
mode:
author Lokesh Gidra <lokeshgidra@google.com> 2021-11-21 11:45:19 -0800
committer Lokesh Gidra <lokeshgidra@google.com> 2022-08-10 18:06:05 +0000
commit384c7861b27f6b5ded42a32ab7d14a48c987f515 (patch)
tree0278e3ab48c9304caf32e6288d5636706143a22f /runtime/jit/jit_code_cache.cc
parent528b169d1351f3606778ba10fe9ae8fcecf7a7c4 (diff)
Handle black allocations in concurrent mark-compact
Test: art/test/testrunner/testrunner.py Bug: 160737021 Change-Id: I4ad6d090cbf87a9120bbc4aaf778a2e1b0d8ae6b
Diffstat (limited to 'runtime/jit/jit_code_cache.cc')
-rw-r--r--runtime/jit/jit_code_cache.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/runtime/jit/jit_code_cache.cc b/runtime/jit/jit_code_cache.cc
index 3eb1701080..6c83741df0 100644
--- a/runtime/jit/jit_code_cache.cc
+++ b/runtime/jit/jit_code_cache.cc
@@ -422,7 +422,6 @@ void JitCodeCache::SweepRootTables(IsMarkedVisitor* visitor) {
// TODO: Do not use IsMarked for j.l.Class, and adjust once we move this method
// out of the weak access/creation pause. b/32167580
if (new_object != nullptr && new_object != object) {
- DCHECK(new_object->IsString());
roots[i] = GcRoot<mirror::Object>(new_object);
}
} else {