diff options
author | Hans Boehm <hboehm@google.com> | 2018-01-12 14:38:59 -0800 |
---|---|---|
committer | Hans Boehm <hboehm@google.com> | 2018-01-17 13:54:26 -0800 |
commit | 59b140db4c4bd7617792256cd5d52713409137bc (patch) | |
tree | 2e72c230f6a4ef6e3a781fb9d0121f87d30f8d78 /annotations/generate_annotated_java_files.py | |
parent | 235e3a111818d8ed4aa986ff0143c72bf71edb2a (diff) |
Avoid duplicate free in CharsetXcoderICU on OOME
NativeAllocationRegistry registration attempts that throw should
immediately deallocate, and not register a Cleaner.
CharsetEncoder/CharsetDecoder should not deallocate the native
object on OOME when NativeAllocationRegistry already did.
Bug: 71750393
Bug: 70631114
Test: Build & boot AOSP, run art host tests,
vogar --mode host libcore/luni/src/test/java/libcore/libcore/util/NativeAllocationRegistryTest.java
Change-Id: If35db36387b53f14ce1eeba09029f7a10fd7bbb5
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions