RFR: 8343177: JFR: Remove critical section for thread id assignment [v3]

Coleen Phillimore coleenp at openjdk.org
Thu Oct 31 12:29:28 UTC 2024


On Thu, 31 Oct 2024 10:12:47 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

>> Hopefully the value will be available via the ObjectMonitor API so this code can use it symbolically.
>
> What happens to ID 1 and 2? Other threads that need to be tracked, and receive special treatment in a similar manner?

There will be no Java thread-id 1 and 2.  Those values are used as values for deflated-marker and anonymous-owner for ObjectMonitor see https://github.com/openjdk/jdk/pull/21565

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21756#discussion_r1824361414


More information about the hotspot-jfr-dev mailing list