diff options
author | 2022-10-12 10:25:23 -0700 | |
---|---|---|
committer | 2022-12-05 18:17:40 +0000 | |
commit | 485a714cbfa146528f7db9395197d855af43e188 (patch) | |
tree | 914b9c764f1cc81938fb09d94e6a27bbe6e5562e /runtime/class_linker.cc | |
parent | 13c3ce1edf7fa9e8e97fb60625a62cb97a13f9a9 (diff) |
Make native GC-root updation concurrent with userfaultfd
Additionally also uses userfaultfd's minor-fault feature for moving
space.
Bug: 160737021
Test: ART_USE_READ_BARRIER=false art/test/testrunner/testrunner.py and module install
Change-Id: I98b0c69fba4aec1263b1f38cc9f31494fd5c8cf5
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r-- | runtime/class_linker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index 7a68863595..dc2ccb40f5 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -3515,7 +3515,7 @@ static void LinkCode(ClassLinker* class_linker, } // Method shouldn't have already been linked. - DCHECK(method->GetEntryPointFromQuickCompiledCode() == nullptr); + DCHECK_EQ(method->GetEntryPointFromQuickCompiledCode(), nullptr); DCHECK(!method->GetDeclaringClass()->IsVisiblyInitialized()); // Actually ClassStatus::Idx. if (!method->IsInvokable()) { |