summaryrefslogtreecommitdiff
path: root/runtime/gc/reference_processor.h
diff options
context:
space:
mode:
author Hans Boehm <hboehm@google.com> 2021-08-03 17:24:31 -0700
committer Hans Boehm <hboehm@google.com> 2021-08-04 15:18:34 +0000
commit1d9d3587dafb7078082b4d4058eea753c13ef94f (patch)
treea131a7f29aa142b9d472e034143a6c7c4ad373da /runtime/gc/reference_processor.h
parent0e8585342b1b26a0ec33421f9d4ab16cb9851ce4 (diff)
Don't block while runnable in getReferent()
Change state before waiting on the GC, so that we can safely be suspended, thus avoiding surprisingly obscure deadlocks. Bug: 195336624 Test: Treehugger Change-Id: I7c7dff8030be962195b7521aac320e90d81defd9
Diffstat (limited to 'runtime/gc/reference_processor.h')
0 files changed, 0 insertions, 0 deletions