RFR for JDK-8030057: speed up forceLogSnapshot and checkAnnotations

Tristan Yan tristan.yan at oracle.com
Wed Dec 18 15:37:02 UTC 2013

Hi Everyone

Please help to review the code change for bug JDK-8030057.


Performance improvement for two RMI tests


method waitAllStarted is using recursive sleep to poll 50 
restartedObject to be true, we can use modern CountDownLatch to 
implement blocking-time wait.

Also suggest shorten waiting time to 5 seconds.


We can subclass ByteArrayOutputStream which support notification when 
data was written. Also use two thread wait output string and error 
string to be not null

Thank you

More information about the core-libs-dev mailing list