hg: jdk8u/hs-dev/hotspot: 2 new changesets

yumin.qi at oracle.com yumin.qi at oracle.com
Thu Mar 13 04:14:54 UTC 2014


Changeset: cdb71841f4bc
Author:    minqi
Date:      2014-02-26 15:20 -0800
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/hotspot/rev/cdb71841f4bc

6498581: ThreadInterruptTest3 produces wrong output on Windows
Summary: There is race condition between os::interrupt and os::is_interrupted on Windows. In JVM_Sleep(Thread.sleep), check if thread gets interrupted, it may see interrupted but not really interrupted so cause spurious waking up (early return from sleep). Fix by checking if interrupt event really gets set thus prevent false return. For intrinsic of _isInterrupted, on Windows, go fastpath only on bit not set.
Reviewed-by: acorn, kvn
Contributed-by: david.holmes at oracle.com, yumin.qi at oracle.com

! src/os/windows/vm/os_windows.cpp
! src/share/vm/opto/library_call.cpp

Changeset: e35733785856
Author:    minqi
Date:      2014-03-12 20:05 -0700
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/hotspot/rev/e35733785856

Merge




More information about the jdk8u-hs-changes mailing list