diff options
| author | Elliott Hughes <enh@google.com> | 2009-12-10 13:18:35 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2009-12-10 15:02:32 -0800 |
| commit | 32177d7bf636e0ad9f00a963d4a73201f02cfdab (patch) | |
| tree | af2900c88da8f74e1890cae23f6d5380bacba6dc /vm/compiler/codegen/CompilerCodegen.h | |
| parent | c047c11da7d284940bcac9a28c42145628d49fed (diff) | |
More java.io.File cleanup.
Make File.list (and friends) cost one JNI call instead of four,
and move the conversion of UTF-8 byte sequences into the JNI, so
it returns String[] instead of byte[][].
Switch to readdir_r(3) so we don't need the JNI to be "static
synchronized".
Remove fixed-length buffers from the native code.
Fix leaks by introducing a "proper" native container (similar to
std::forward_list). We should still investigate either using
std::vector or passing in an ArrayList<String> and using JNI to
call ArrayList.add, but this is a step forward from the old
code anyway.
Bug: 2281992
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
0 files changed, 0 insertions, 0 deletions
