diff options
author | Hans Boehm <hboehm@google.com> | 2016-05-10 13:01:22 -0700 |
---|---|---|
committer | Hans Boehm <hboehm@google.com> | 2016-05-16 13:45:21 -0700 |
commit | 0d65743feac1829629e327925f831e482e0f1435 (patch) | |
tree | 0a7a2d5c1b1282ea9aa6bfd06aef60faae83b20f /rs/java/android/renderscript/RenderScript.java | |
parent | a7b826b08aa1b185b0e46b648e5c2ed7f818ae09 (diff) |
Clear more native pointers in finalizers
This hopefully handles the remaining finalizers in frameworks/base
that didn't guard against calls from other finalizers after being
finalized.
The goal here is to reduce the possible corruption causes we have
to think about by a few.
If any of theses are either very frequently used, or use large
Java (as opposed to native) objects, we should probably convert them
to NativeAllocationRegistry instead. But that's more work.
Bug: 18178237
Change-Id: I79bc0e8fa20af8f340418a6226022e0294d77f02
(cherry picked from commit ad3cc3c63c6d0f637d2ece3935b5b01b19473299)
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions