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

Erik Gahlin egahlin at openjdk.org
Tue Jul 18 14:38:14 UTC 2023


On Tue, 18 Jul 2023 11:23:37 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

> Greetings,
> 
> The following fix takes care of returning the correct thread values specified by the API. If the thread is virtual, we return null and -1 for the OSThread name and id, respectively.
> 
> Thanks
> Markus

Marked as reviewed by egahlin (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/14920#pullrequestreview-1535192834


More information about the hotspot-jfr-dev mailing list