diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-10-01 17:08:44 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-10-01 17:32:08 -0700 |
commit | 4843bd5a0ba1d85e73f6e0ed7a24fa4a344cccb0 (patch) | |
tree | 0ab2126275b298ba877440dd6b556381af587ce1 /compiler/optimizing/graph_visualizer.cc | |
parent | 25217af2a7cae96b32ba566aaf697288f3374c99 (diff) |
Change DecodeWeakGlobal to DecodeJObject for class unloading
DecodeWeakGlobal returns the sentinel object for cleared JNI weak
globals. This was causing a memory leak since it wouldn't delete
class tables and linear allocs due to never returning null. The bug
was found by yamauchi.
Bug: 22720414
Change-Id: Iff4681495232b9a9756dbdb51d10ea72691a85dd
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions