RFR: 8353226: JFR: emit old object samples must be transitive closure complete for segment
Markus Grönlund
mgronlun at openjdk.org
Sun Mar 30 12:13:55 UTC 2025
Greetings,
EventEmitter::write_events() only serializes blobified stack traces as part of old object checkpoint serialization. Still, it categorically writes a stack trace id as part of the event, even for non-blobified stack traces. As a result, the segment is incomplete. Stack traces must be serialized directly from the leak profiler repository to ensure closure.
Testing: jdk_jfr
Thanks
Markus
-------------
Commit messages:
- 8353226
Changes: https://git.openjdk.org/jdk/pull/24316/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24316&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8353226
Stats: 63 lines in 5 files changed: 59 ins; 2 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/24316.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24316/head:pull/24316
PR: https://git.openjdk.org/jdk/pull/24316
More information about the hotspot-jfr-dev
mailing list