commit | f3c44b410967761680e7285641ba6e15ab45c660 | [log] [tgz] |
---|---|---|
author | Lokesh Gidra <lokeshgidra@google.com> | Wed Oct 05 10:43:49 2022 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Wed Oct 05 23:20:25 2022 +0000 |
tree | a2f96114f6af01f3cfda6ce9f8ae1215f63c077d | |
parent | 0b325abb397452b69cf259d193c840b1242d8371 [diff] |
Avoid updating class loaders outside system weaks We update all system weaks using Runtime::SweepSystemWeaks(). But when we are tracing, we attempt to update them again via ClassLinker::VisitRoots, which results in double updation of GC-root. This is not tolerated by userfaultfd-GC as we do in-place sliding compaction. Bug: 250480435 Test: art/test/testrunner/testrunner.py --host --gcstres -t 2240-tracing-non-invokable-method Change-Id: I970f2d47270837f7b02f34d34ae434ba8a4edd2b