hg: jdk8/tl/jdk: 4243978: (ref) Race condition in Reference.enqueue(); ...

2011-10-31 Thread y . s . ramakrishna
Changeset: 5f2838744544 Author:ysr Date: 2011-10-31 17:38 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/5f2838744544 4243978: (ref) Race condition in Reference.enqueue() 4268317: (ref) Reference.isEnqueued() can return true when instance not enqueued Summary: The reference h

Re: performance updates to jar and zip

2011-10-31 Thread Xueming Shen
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 lock

Re: performance updates to jar and zip

2011-10-31 Thread Mike Skells
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 In the version that I s

hg: jdk8/tl/jdk: 7053252: New regression test does not compile on windows-amd64

2011-10-31 Thread bradford . wetmore
Changeset: b60e88ef5d8d Author:wetmore Date: 2011-10-31 16:23 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/b60e88ef5d8d 7053252: New regression test does not compile on windows-amd64 Reviewed-by: valeriep ! test/ProblemList.txt ! test/sun/security/pkcs11/Provider/Absolute.

Re: performance updates to jar and zip

2011-10-31 Thread Xueming Shen
Hi Mike, (1) While it's not a "significant benefit" :-) obviously it helps the through put to move the "loc writing" to the background work (together with the compression). I notice 10%+ improvement on one of my 4-core machine (vm OS installation, so the IO is supposed to be slow), when incr

hg: jdk8/tl/jdk: 7105780: Add SSLSocket client/SSLEngine server to templates directory

2011-10-31 Thread bradford . wetmore
Changeset: 8681362a2f04 Author:wetmore Date: 2011-10-31 11:54 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8681362a2f04 7105780: Add SSLSocket client/SSLEngine server to templates directory Reviewed-by: xuelei + test/sun/security/ssl/templates/SSLSocketSSLEngineTemplate.ja

Collections.checkedQueue() offer method should not call add.

2011-10-31 Thread Jason Mehrens
Darryl, CheckedQueue.offer should call 'this.queue.offer' instead of 'this.add'. If you pass a Queue with bounded capacity (ArrayBlockingQueue) the CQ.offer method should return false when the queue is full but will instead throw an IllegalStateException. The current version also is perform