Mercurial > hg > truffle
diff src/os/windows/vm/os_windows.cpp @ 1865:1c352af0135d
6763959: java.util.concurrent.locks.LockSupport.parkUntil(0) blocks forever
Summary: Absolute time 0 needs to return immediately.
Reviewed-by: phh, dcubed, dholmes
author | acorn |
---|---|
date | Mon, 04 Oct 2010 13:11:10 -0400 |
parents | 126ea7725993 |
children | b6aedd1acdc0 |
line wrap: on
line diff
--- a/src/os/windows/vm/os_windows.cpp Tue Sep 21 06:58:44 2010 -0700 +++ b/src/os/windows/vm/os_windows.cpp Mon Oct 04 13:11:10 2010 -0400 @@ -3992,7 +3992,7 @@ if (time < 0) { // don't wait return; } - else if (time == 0) { + else if (time == 0 && !isAbsolute) { time = INFINITE; } else if (isAbsolute) {