performance updates to jar and zip

Xueming Shen xueming.shen at
Tue Nov 1 00:30:33 UTC 2011

On 10/31/2011 5:11 PM, Mike Skells wrote:
> Hi Sherman,
> (1)  Are the number here with writing the LOC in the background 
> thread, in not I don't understand the comment
> The writeLOC in the base code version is very slow. each int written 
> is written as 4 seperate bytes, each of which takes out locks, checks 
> to flush etc

The number below has the loc written in pooled thread. YES It is faster 
than writing the loc in main thread.

[@flicker-vm2:/tmp/sherman/test]../mtjar-linux/bin/java Jar cfT4 rt.jar 
mtCreate: threadNum=4...
Jar TotalTime:2754

More information about the core-libs-dev mailing list