Code Review Request 8141703, Test B6216082.java failed with operation timed out exception

2015-12-04 Thread Xuelei Fan
Hi, Please review the test update for JDK-8141703: http://cr.openjdk.java.net/~xuelei/8141703/webrev.00/ The test, sun/net/www/protocol/https/HttpsURLConnection/B6216082.java, need to start a server and proxy, and then make https connection over them. It is noticed that the test fails intermi

Re: RFR: 8098581 SecureRandom.nextBytes() hurts performance with small size requests

2015-12-04 Thread Anthony Scarpino
On 12/03/2015 11:10 AM, Mike StJohns wrote: The more I look at this the less I'm comfortable with the change to non-synchronized. In general, there shouldn't be a need for a large amount of random data, especially not between multiple threads, so I'm not too sure the performance argument holds.

Re: RFR: 8098581 SecureRandom.nextBytes() hurts performance with small size requests

2015-12-04 Thread Anthony Scarpino
On 12/03/2015 02:40 PM, e...@zusammenkunft.net wrote: Hello, That buffer sizing/expiring is a bit strange (the dynmic version stranger than the old one), I do not understand the need for it. The requests should not varry so much in size. Just reading something like 64bytes at a time (possibly no