This commit fixes the tracking of the main event parentId for the Java Flight Recorder implementation variant. Fixes gh-34128
This commit fixes the tracking of the main event parentId for the Java Flight Recorder implementation variant. Fixes gh-34128