On Thu, 7 May 2026 15:24:46 GMT, Alan Bateman <[email protected]> wrote:
>> We have many JFR tests that start multiple, nested recordings. Since a >> recording cannot turn off an event enabled by another recording, and there >> is only one recording stream in total, the second recording inherits the >> enabled event (the event setting is a union of 1 v 0), which means the event >> is also enabled for the subsequent recording. >> >> Start and stop are both implemented as rotations, and rotations use a >> stop-the-world safepoint to bump the epoch. > > I wasn't sure how it worked with concurrent recordings so your message is > useful, thanks. I will note that I did read through the Recording API docs > but couldn't find anything obvious that documents this. It's really an implementation detail. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30922#discussion_r3202840096
