Thread.sleep() returns too early

Artem Ananiev Artem.Ananiev at Sun.COM
Mon Oct 13 04:59:10 PDT 2008

Hi, HotSpot team,

I have faced a problem with Thread.sleep(), which looks very weird from 
my perspective. The test is attached. It first forks a new thread and 
then performs some actions on the main and EDT threads. The first 
(forked) thread is a kind of timeout/hang/deadlock prevention stuff and 
contains a single sleep(600000) call, but I found it may return from it 
at any arbitrary moment without any exceptions, causing the test to fail 
with "timeout".

This only happens on Solaris. Any ideas?


-------------- next part --------------
A non-text attachment was scrubbed...
Type: text/x-java
Size: 3051 bytes
Desc: not available
Url : 

More information about the hotspot-runtime-dev mailing list