-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
rc1
-
x86
-
windows_nt
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2030366 | 1.4.0 | Karen Kinnear | P3 | Closed | Fixed | beta |
Name: dkC59003 Date: 11/22/99
HotSpot Kestrel 1.3fcs-P JVMPI function GetThreadStatus returns
JVMPI_THREAD_RUNNABLE status for a thread which is waiting on a condition
variable when the thread is suspended/resumed by SuspendThread/ResumeThread
JVMPI functions. (Besides, THREAD_SUSPENDED bit is erroneously set as described
in bug report #4292726)
To reproduce the bug run doit.bat in
GammaBase/Bugs/<this bug number>
Classic passes the test (doit -classic).
Running on HS 1.3fcs-P the test outputs:
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-O)
Java HotSpot(TM) Client VM (build 1.3-P, mixed mode)
Thread thr1 (7854832) after SuspendThread: status expected: 3, got: 0x8001
Thread thr1 (7854832) after ResumeThread: status expected: 3, got: 0x8001
======================================================================
- backported by
-
JDK-2030366 GetThreadStatus returns invalid status after SuspendThread
-
- Closed
-
- relates to
-
JDK-4297387 JVMPI: GetThreadStatus returns invalid status after SuspendThread
-
- Closed
-
-
JDK-4292726 JVMPI: GetThreadStatus erroneously returns THREAD_SUSPENDED bit
-
- Closed
-