diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2017-01-06 12:23:47 -0800 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2017-01-06 12:48:15 -0800 |
commit | f1c6f8742e2ac980c7259f4dc70b4326ecc245e1 (patch) | |
tree | 27bdef2da9d0c37003c0859cc3e5a58ff26092e2 /compiler/optimizing/graph_visualizer.cc | |
parent | 48ff5b9aecd9c9d3eb00242aee52a0a8193421df (diff) |
Don't need to block in AddWeakGlobalRef and MonitorList::Add under CC.
CMS needs this to block because an object allocated during the GC
won't be marked and concurrent reference processing would incorrectly
clear the JNI weak ref or the monitor list weak.
But CC doesn't because of the to-space invariant, that is, when a
mutator tries to create a JNI weak ref or a monitor for an object, it
must be already marked and the concurrent reference processing
wouldn't incorrectly clear it.
Bug: 34128900
Bug: 12687968
Test: test-art-host with CC.
Change-Id: Ia87bf8ed9e604900df5ecb450c89b0ac222bef32
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions