summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2015-08-21 16:10:39 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2015-08-27 14:36:01 -0700
commit76f55b030d2517d434f227bee2363c3fb760e5c6 (patch)
tree92d625bb90b05ad976ff174ac25a112a7fda3bd1 /compiler/optimizing/graph_visualizer.cc
parent24011e738d77dedb28c1b4d6ff34445cc2acc4a7 (diff)
Synchronize JNI critical calls with the CC collector thread flip.
JNI critical calls (like GetArrayElementsCritical) would need to block for the whole GC run to finish if the CC collector GC is ongoing. This CL changes it so that they don't need to block for the GC run, but only for the duration of the thread flip operation, which is much shorter. This is valid due to the to-space invariant. Bug: 12687968 Bug: 19235243 Change-Id: I1b6b4ae4fa539ddc0ec50b10ae8c8709f2a12fe8
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions