Integrated: 8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual
Markus Grönlund
mgronlun at openjdk.org
Tue Jul 18 16:02:58 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
This pull request has now been integrated.
Changeset: 9905f758
Author: Markus Grönlund <mgronlun at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9905f7582270634eb19f7d9cb67210a174da9a85
Stats: 65 lines in 6 files changed: 23 ins; 9 del; 33 mod
8311040: JFR: RecordedThread::getOSThreadId() should return -1 if thread is virtual
Reviewed-by: egahlin
-------------
PR: https://git.openjdk.org/jdk/pull/14920
More information about the hotspot-jfr-dev
mailing list