Skip to content

Commit 45e28f6

Browse files
authored
Merge pull request #21583 from thallium/fix-0.51
(0.51) Fix JFR ThreadDump event time
2 parents 37dc116 + 85d5a32 commit 45e28f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/vm/JFRChunkWriter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ VM_JFRChunkWriter::writeThreadDumpEvent()
12371237
_bufferWriter->writeLEB128(ThreadDumpID);
12381238

12391239
/* write start time */
1240-
_bufferWriter->writeLEB128(j9time_current_time_millis());
1240+
_bufferWriter->writeLEB128(j9time_nano_time());
12411241

12421242
const U_64 bufferSize = THREAD_DUMP_EVENT_SIZE_PER_THREAD * _vm->peakThreadCount;
12431243
U_8 *resultBuffer = (U_8 *)j9mem_allocate_memory(sizeof(U_8) * bufferSize, OMRMEM_CATEGORY_VM);

0 commit comments

Comments
 (0)