Skip to content

Commit 8e56ddd

Browse files
authored
Merge pull request #21455 from thallium/fix-0.51
(0.51) Fix thread raw state format in dumps
2 parents 3baf4ed + 977ccb4 commit 8e56ddd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

runtime/rasdump/javadump.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4544,7 +4544,7 @@ JavaCoreDumpWriter::writeThread(J9VMThread* vmThread, J9PlatformThread *nativeTh
45444544
/* Replace vmstate with java state in the "3XMTHREADINFO" entry */
45454545
_OutputStream.writeCharacters(", state:");
45464546
writeThreadState(javaState);
4547-
_OutputStream.writeCharacters(", raw state:");
4547+
_OutputStream.writeCharacters(", rawStateValue:");
45484548
_OutputStream.writeInteger(javaState);
45494549

45504550
_OutputStream.writeCharacters(", prio=");

runtime/vm/JFRChunkWriter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ writeThreadInfo(J9VMThread *currentThread, J9VMThread *walkThread, VM_BufferWrit
11041104
releaseOMRVMThreadName(walkThread->omrVMThread);
11051105
}
11061106
bufferWriter->writeFormattedString(
1107-
"\"%s\" J9VMThread: %p tid: %zd nid: %zd prio: %zd state: %s raw state: 0x%zX",
1107+
"\"%s\" J9VMThread: %p tid: %zd nid: %zd prio: %zd state: %s rawStateValue: 0x%zX",
11081108
threadName,
11091109
walkThread,
11101110
javaTID,

0 commit comments

Comments
 (0)