diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-06-30 15:20:26 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-07-08 18:28:49 -0700 |
commit | b0e861cb829f190f91579637f93a096fc1a680b7 (patch) | |
tree | 7a6aca18e9354d4447d96b1d2397f70c1d568d83 /compiler/optimizing/graph_visualizer.cc | |
parent | a548c081fe1967e89b6973aa0715a83419f93ef7 (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