git: openjdk/jdk21: 8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual

Markus Grönlund mgronlun at openjdk.org
Tue Jul 18 19:27:31 UTC 2023


Changeset: 36aae5f3
Author:    Markus Grönlund <mgronlun at openjdk.org>
Date:      2023-07-18 19:26:17 +0000
URL:       https://git.openjdk.org/jdk21/commit/36aae5f36aab225f03266bc1af50d34ea62f8e4a

8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual

Reviewed-by: egahlin
Backport-of: 9905f7582270634eb19f7d9cb67210a174da9a85

! src/hotspot/share/jfr/recorder/checkpoint/types/jfrThreadState.cpp
! src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.cpp
! src/hotspot/share/jfr/recorder/checkpoint/types/jfrType.hpp
! src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordedThread.java
! test/jdk/jdk/jfr/threading/TestManyVirtualThreads.java
! test/jdk/jdk/jfr/threading/TestNestedVirtualThreads.java



More information about the jdk-changes mailing list