RFR: Faster ZipFile.getEntry()/entries()

Bernd Eckenfels ecki at zusammenkunft.net
Wed May 21 21:31:15 UTC 2014

Am Wed, 21 May 2014 14:19:13 -0700
schrieb Xueming Shen <xueming.shen at oracle.com>:

> And java implementation also brings in the benefits of better memory
> usage (all memory allocated in java heap), no more expensive jni
> invocations...
> Opinion/comments are appreciated.

I had ZIP native code related crashes in the past. I suspected they all
have been due to memory pressure (malloc returning null). But I
expected that to be fixed meanwhile? I mean its not impossible to have
robust C code, or?

Anyway, having said that - is there a performance comparision? What was
the reason for that native part in the first place?


More information about the core-libs-dev mailing list