RFR: 8353226: JFR: emit old object samples must be transitive closure complete for segment [v2]

Markus Grönlund mgronlun at openjdk.org
Sun Mar 30 12:17:52 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

Markus Grönlund has updated the pull request incrementally with one additional commit since the last revision:

  align

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24316/files
  - new: https://git.openjdk.org/jdk/pull/24316/files/e0c8f1a3..61f2a8ed

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24316&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24316&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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