Re: RFR 8029891 : Deadlock detected in java/lang/ClassLoader/deadlock/GetResource.java

2015-05-17 Thread David Holmes
On 16/05/2015 5:09 AM, Brent Christian wrote: On 5/13/15 8:53 AM, Mandy Chung wrote: On May 12, 2015, at 2:26 PM, Peter Levart wrote: On 05/12/2015 10:49 PM, Mandy Chung wrote: But I think it should be pretty safe to make the java.util.Properties object override all Hashtable methods and deleg

Re: JDK 9 RFR of JDK-8078136: Incorrect figure number in reference to Hacker's Delight book in Long.bitCount() method

2015-05-17 Thread Lance @ Oracle
Go for it joe😎 Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 lance.ander...@oracle.com Sent from my iPad > On May 17, 2015, at 12:53 PM, joe darcy wrote: > > Hello, > > Please review this typo fix for > >

JDK 9 RFR of JDK-8078136: Incorrect figure number in reference to Hacker's Delight book in Long.bitCount() method

2015-05-17 Thread joe darcy
Hello, Please review this typo fix for JDK-8078136: Incorrect figure number in reference to Hacker's Delight book in Long.bitCount() method diff -r d40f1245a1f1 src/java.base/share/classes/java/lang/Long.java --- a/src/java.base/share/classes/java/lang/Long.javaWed May 13 14:16:46 20

Re: RFR: 8077846: improve locking strategy for readConfiguration(), reset(), and initializeGlobalHandlers()

2015-05-17 Thread Peter Levart
On 05/15/2015 05:05 PM, Daniel Fuchs wrote: Looks good for me Peter :-) Hopefully Mandy will like it too! Yes it looks good to me. Thanks to both of you for imprpving the synchronization. This is the comment on the test I sent last round: TestConfigurationLock.java Copyright year sho

Naming of thread pools (Executors)

2015-05-17 Thread Peter Hansson
Hi, I would like create a patch for https://bugs.openjdk.java.net/browse/JDK-8016248. MOTIVATION: Today thread pools created by the Executors method are always prefixed with "pool". The developer can work around this by providing his own ThreadFactory but if he wants to have the default JDK be