RFR: 8322142: JFR Periodic tasks aren't orphaned between recordings

Carter Kozak duke at openjdk.org
Tue Jan 2 20:48:53 UTC 2024


This issue is described on the jfr-dev mailing list here:
https://mail.openjdk.org/pipermail/hotspot-jfr-dev/2023-December/005697.html
With a minimal reproducer here:
https://github.com/carterkozak/periodic-event-repro

Currently a draft because I don't have a ticket for this issue, and I haven't had a chance to add a test for this. I have verified that a build with this change resolves the bug I encountered.

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

Commit messages:
 - Update based on review from egahlin
 - Allow batch re-insertion after it has been orphaned
 - JFR Periodic tasks aren't orphaned between recordings

Changes: https://git.openjdk.org/jdk/pull/17114/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17114&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8322142
  Stats: 7 lines in 1 file changed: 0 ins; 4 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/17114.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17114/head:pull/17114

PR: https://git.openjdk.org/jdk/pull/17114


More information about the hotspot-jfr-dev mailing list