diff options
author | Elliott Hughes <enh@google.com> | 2012-09-20 15:46:51 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2012-09-20 15:46:51 -0700 |
commit | 34a3a0501220dd62b88ddb4a355bad46b15c25a2 (patch) | |
tree | deeb166e5cd053125ee9a0e7aff7343680990401 /annotations/generate_annotated_java_files.py | |
parent | 630a4982d0ada9aae41f3427e9d5fb5c0c448dcb (diff) |
Fix a native memory leak in SimpleDateFormat cloning.
We didn't use the regular finalization idiom in NativeDecimalFormat because
Formatter used to create a lot of these objects, and we wanted to be able to
close them manually rather than clogging up the GC. We've since rewritten
the Formatter code so this is no longer relevant, but we left the finalization
in the wrong class.
Tested with a "while (true) sdf.clone();" loop and ps(1).
Bug: http://code.google.com/p/android/issues/detail?id=37607
Change-Id: I0c435edf8c1bced00ebf04bd7187883344e971e7
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions