Re: [doc]Small modification on the WeakHashMap doc

2012-05-06 Thread David Holmes
Hi Charles, On 7/05/2012 1:05 PM, Charles Lee wrote: Does anyone interested in this issue? Interest and time are two different things :) A shorter form would be: "If the values in the map do not rely on the map holding strong references to them, then one way to deal with this is ... David

Re: [doc]Small modification on the WeakHashMap doc

2012-05-06 Thread Charles Lee
Hi guys, Does anyone interested in this issue? On 05/03/2012 02:52 PM, Charles Lee wrote: Hi guys, In the Implementation notes of WeakHashMap[1], says: /One way to deal with this is to wrap values themselves within WeakReferences before inserting, as in: m.put(key, new WeakReference(value))

Re: Review Request for CR : 7144861 RMI activation tests are too slow

2012-05-06 Thread David Holmes
On 5/05/2012 11:50 AM, Stuart Marks wrote: On 03/05/2012 14:09, Olivier Lagneau wrote: Please review this fix for making the jdk regression tests for rmi activation run faster. It brings a near to x2 speed factor on a Solaris/SPARC machine. The webrev for the fix is here: http://cr.openjdk.java