summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2016-09-13 15:59:04 -0700
committerIgor Murashkin <iam@google.com>2016-09-15 12:48:44 -0700
commita082b7b2628c99b150581e4e7e0b9a497e85f1ee (patch)
tree425e6bb1529158e860b13af23d87f83641cc8470 /annotations/generate_annotated_java_files.py
parent09fdb03768015c0f442fa7a523ae2ddba53d99f0 (diff)
libjavacore: Implement JNI_OnUnload for icu
Unload ICU when the libjavacore library is unloaded by the DalvikVM. In some rare cases shutting down and then starting the DalvikVM many times would cause a memory leak due to the ICU mmaps not being unmapped. This fixes that issue by unmapping ICU data when the library is unloaded. It also cleanly resets ICU so we don't need a hack for it in the art CommonRuntimeTest. Test: make core-tests && vogar --classpath out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/classes.jack libcore/luni/src/test/java/libcore/icu/ICUTest.java Bug: 31469648 Change-Id: I8d63d98c8217acd8ae38e982f3aacaaa408bd251
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions