CR 6860309 - solaris timing issue on thread startup

Rémi Forax forax at univ-mlv.fr
Mon Nov 14 17:36:57 UTC 2011


On 11/14/2011 05:09 PM, Gary Adams wrote:
>  I've updated the webrev for CR#6860309 using a CountDownLatch.
> The main thread will wait til both worker threads are ready to
> block on the read() before the process is destroyed.
>
>    http://cr.openjdk.java.net/~gadams/6860309/
>
> Tested with -Xcomp, but still may need a older slow solaris/sparc
> machine to confirm the fix works for the original bug
> submitter.
>

Hi Gary,
I think it's better if a Copier takes the CountDownLatch as parameter
of the constructor instead of being declared static.

Rémi






More information about the core-libs-dev mailing list