summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2016-06-30 15:20:26 -0700
committerMathieu Chartier <mathieuc@google.com>2016-07-08 18:28:49 -0700
commitb0e861cb829f190f91579637f93a096fc1a680b7 (patch)
tree7a6aca18e9354d4447d96b1d2397f70c1d568d83 /compiler/optimizing/graph_visualizer.cc
parenta548c081fe1967e89b6973aa0715a83419f93ef7 (diff)
Fix unsafe weak reference usage in test 141
There were patterns like: WeakRef<Class> klass = ... klass.get().<method> These are unsafe since background GC could unload and null out the weak reference. We now pass the weak reference to another function. Deleted bad and unsafe test. Test: test-art-host Bug: 29889416 Change-Id: I6a8daf678262757e54e5817ec63b7c33f4b156ab
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions