Mercurial > hg > graal-jvmci-8
comparison src/os/windows/vm/os_windows.cpp @ 10135:5a9fa2ba85f0
8012907: anti-delta fix for 8010992
Summary: anti-delta fix for 8010992 until 8012902 can be fixed
Reviewed-by: acorn, minqi, rdurbin
author | dcubed |
---|---|
date | Sun, 21 Apr 2013 20:41:04 -0700 |
parents | 6f817ce50129 |
children | cc12becb22e7 |
comparison
equal
deleted
inserted
replaced
10130:6f817ce50129 | 10135:5a9fa2ba85f0 |
---|---|
3303 // 1: Thread is running now | 3303 // 1: Thread is running now |
3304 // >1: Thread is still suspended. | 3304 // >1: Thread is still suspended. |
3305 assert(ret != SYS_THREAD_ERROR, "StartThread failed"); // should propagate back | 3305 assert(ret != SYS_THREAD_ERROR, "StartThread failed"); // should propagate back |
3306 } | 3306 } |
3307 | 3307 |
3308 class HighResolutionInterval : public CHeapObj<mtThread> { | 3308 class HighResolutionInterval { |
3309 // The default timer resolution seems to be 10 milliseconds. | 3309 // The default timer resolution seems to be 10 milliseconds. |
3310 // (Where is this written down?) | 3310 // (Where is this written down?) |
3311 // If someone wants to sleep for only a fraction of the default, | 3311 // If someone wants to sleep for only a fraction of the default, |
3312 // then we set the timer resolution down to 1 millisecond for | 3312 // then we set the timer resolution down to 1 millisecond for |
3313 // the duration of their interval. | 3313 // the duration of their interval. |