-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
5.0
-
x86
-
generic, solaris_9, windows_nt
Name: pvR10198 Date: 02/09/2004
---------------------------------------------------
Test : nsk/jvmti/StopThread/stopthrd007
VM : ServerVM
Mode : -Xcomp, -Xmixed
Platform : x86
OS : generic
JDK : 1.5.0
---------------------------------------------------
The test exercises JVMTI function StopThread.
Debugee part of the test runs 3 threads:
- running in a conditional loop
- waiting on Object.wait()
- sleeping on Thread.sleep()
then agent part of the test calls StopThread with an instance of
ThreadDeath for these threads and the debugee checks that
the threads are killed with ThreadDeath.
The test fails with serverVM on all x86 platforms in -Xcomp/-Xmixed modes.
The test passes with clientVM on all platforms in all modes.
The test passes with serverVM on all platforms in -Xint mode.
The test passes on Solsparc with both VMs in all modes.
To reproduce the test failure run doit.sh script in
GammaBase/Bugs/<this bug number> directory:
sh doit.sh <JAVA_HOME> <java_options>
Running the test outputs:
$ sh doit.sh $JDK15/solsparc -server
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b37)
Java HotSpot(TM) Server VM (build 1.5.0-beta2-b37, mixed mode)
#>
#> WARNING: switching log to verbose mode,
#> because error is complained
#>
Debugee started
Starting tested threads
Finishing tested threads
# ERROR: DebuggeeRunningThread: ThreadDeath lost
DebuggeeWaitingThread: got ThreadDeath
DebuggeeSleepingThread: got ThreadDeath
Debugee finished
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: DebuggeeRunningThread: ThreadDeath lost
Exit Code: 97
======================================================================
This issue also arises with the following test on windows-ia64 :-
nsk/jvmti/scenarios/capability/CM03/cm03t001
- duplicates
-
JDK-5024600 nsk/jvmti/StopThread/stopthrd007 asserts on solx86
-
- Closed
-
-
JDK-5019035 unexpected exception/exception catch events in nsk cm03t001
-
- Closed
-
- relates to
-
JDK-5030853 Lazy deopt and async exceptions cause deopt failures.
-
- Resolved
-