OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:threadStatus
(Results
1 - 19
of
19
) sorted by null
/libcore/ojluni/src/main/java/sun/misc/
VM.java
375
* Returns Thread.State for the given
threadStatus
377
public static Thread.State toThreadState(int
threadStatus
) {
378
if ((
threadStatus
& JVMTI_THREAD_STATE_RUNNABLE) != 0) {
380
} else if ((
threadStatus
& JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER) != 0) {
382
} else if ((
threadStatus
& JVMTI_THREAD_STATE_WAITING_INDEFINITELY) != 0) {
384
} else if ((
threadStatus
& JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT) != 0) {
386
} else if ((
threadStatus
& JVMTI_THREAD_STATE_TERMINATED) != 0) {
388
} else if ((
threadStatus
& JVMTI_THREAD_STATE_ALIVE) == 0) {
395
/* The
threadStatus
field is set by the VM at state transition
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
StatusTest.java
76
int
threadStatus
= reply.getNextValueAsInt();
81
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + " "
84
if (
threadStatus
!= JDWPConstants.
ThreadStatus
.RUNNING) {
86
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
));
89
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
));
94
+ JDWPConstants.
ThreadStatus
.getName(suspendStatus))
[
all
...]
Status002Test.java
91
int
threadStatus
= checkedReply.getNextValueAsInt();
94
logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(
threadStatus
)
95
+ "(" + JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")");
96
if (
threadStatus
!= JDWPConstants.
ThreadStatus
.SLEEPING) {
99
+ Integer.toHexString(
threadStatus
)
100
+ "(" + JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")"
102
+ Integer.toHexString(JDWPConstants.
ThreadStatus
.SLEEPING
[
all
...]
Status003Test.java
90
int
threadStatus
= checkedReply.getNextValueAsInt();
93
logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(
threadStatus
)
94
+ "(" + JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")");
95
if (
threadStatus
!= JDWPConstants.
ThreadStatus
.WAIT) {
99
+ Integer.toHexString(JDWPConstants.
ThreadStatus
.WAIT)
100
+ "(" + JDWPConstants.
ThreadStatus
.getName(JDWPConstants.
ThreadStatus
.WAIT) + ")");
Status004Test.java
89
int
threadStatus
= checkedReply.getNextValueAsInt();
92
logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(
threadStatus
)
93
+ "(" + JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")");
94
if (
threadStatus
!= JDWPConstants.
ThreadStatus
.WAIT) {
98
+ Integer.toHexString(JDWPConstants.
ThreadStatus
.WAIT)
99
+ "(" + JDWPConstants.
ThreadStatus
.getName(JDWPConstants.
ThreadStatus
.WAIT) + ")");
Status005Test.java
90
int
threadStatus
= checkedReply.getNextValueAsInt();
93
logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(
threadStatus
)
94
+ "(" + JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")");
95
if (
threadStatus
!= JDWPConstants.
ThreadStatus
.MONITOR) {
99
+ Integer.toHexString(JDWPConstants.
ThreadStatus
.MONITOR)
100
+ "(" + JDWPConstants.
ThreadStatus
.getName(JDWPConstants.
ThreadStatus
.MONITOR) + ")");
Status006Test.java
101
int
threadStatus
= checkedReply.getNextValueAsInt();
104
logWriter.println("\n=> Returned thread status = 0x" + Integer.toHexString(
threadStatus
)
105
+ "(" + JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")");
106
if (
threadStatus
!= JDWPConstants.
ThreadStatus
.ZOMBIE) {
110
+ Integer.toHexString(JDWPConstants.
ThreadStatus
.ZOMBIE)
111
+ "(" + JDWPConstants.
ThreadStatus
.getName(JDWPConstants.
ThreadStatus
.ZOMBIE) + ")");
ResumeTest.java
198
int
threadStatus
= reply.getNextValueAsInt();
201
logWriter.println("==>
threadStatus
= " +
threadStatus
+ "("
202
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")");
238
threadStatus
= reply.getNextValueAsInt();
241
logWriter.println("==>
threadStatus
= " +
threadStatus
+ "("
242
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")")
[
all
...]
SuspendTest.java
146
int
threadStatus
= reply.getNextValueAsInt();
149
logWriter.println("==>
threadStatus
= " +
threadStatus
+ "("
150
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")");
ThreadGroup002Test.java
182
int
threadStatus
= reply.getNextValueAsInt();
186
logWriter.println("==> thread status of checked thread = " +
threadStatus
+ "("
187
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")");
203
if (
threadStatus
== JDWPConstants.
ThreadStatus
.ZOMBIE) {
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
AllThreadsTest.java
69
int
threadStatus
, suspendStatus;
90
threadStatus
= replyName.getNextValueAsInt();
95
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + " "
127
int
threadStatus
, suspendStatus;
150
threadStatus
= replyName.getNextValueAsInt();
155
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + " "
157
if (
threadStatus
== JDWPConstants.
ThreadStatus
.RUNNIN
[
all
...]
SuspendTest.java
67
int
threadStatus
, suspendStatus;
88
threadStatus
= replyName.getNextValueAsInt();
93
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + " "
ResumeTest.java
376
int
threadStatus
= reply.getNextValueAsInt();
379
logWriter.println("==>
threadStatus
= " +
threadStatus
+ " ("
380
+ JDWPConstants.
ThreadStatus
.getName(
threadStatus
) + ")");
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
JDWPTestCase.java
563
int
threadStatus
= replyPacket.getNextValueAsInt();
567
assertEquals("Invalid thread status",
threadStatus
, expectedThreadStatus,
568
JDWPConstants.
ThreadStatus
.getName(expectedThreadStatus),
569
JDWPConstants.
ThreadStatus
.getName(
threadStatus
));
[
all
...]
/external/oj-libjdwp/src/share/back/
ThreadReferenceImpl.c
125
jdwpThreadStatus
threadStatus
;
140
error = threadControl_applicationThreadStatus(thread, &
threadStatus
,
146
(void)outStream_writeInt(out,
threadStatus
);
/external/icu/icu4c/source/test/intltest/
tsmthred.cpp
841
int32_t
threadStatus
= tests[j].start();
842
if (
threadStatus
!= 0) {
844
__FILE__, __LINE__,
threadStatus
, j);
[
all
...]
/libcore/ojluni/src/main/java/java/lang/
Thread.java
222
private volatile int
threadStatus
= 0;
723
if (
threadStatus
!= 0 || started)
[
all
...]
/art/runtime/jdwp/
jdwp_handler.cc
[
all
...]
/external/oj-libjdwp/make/data/jdwp/
jdwp.spec
[
all
...]
Completed in 320 milliseconds