RFR: 8277930: Add unsafe allocation event to jfr [v6]

xpbob duke at openjdk.java.net
Tue Dec 7 05:48:54 UTC 2021


> Unsafe is used in many Java frameworks.
> When the framework has a unsafe memory leak , there is no way to know what code is causing it.
> Add unsafe allocation event to jfr.
> Records the size and stack allocated.
> This event is off by default

xpbob has updated the pull request incrementally with two additional commits since the last revision:

 - remove event in metadata
 - add java event

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6591/files
  - new: https://git.openjdk.java.net/jdk/pull/6591/files/b09c744d..3f1e41cb

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6591&range=05
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6591&range=04-05

  Stats: 315 lines in 11 files changed: 270 ins; 34 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6591.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6591/head:pull/6591

PR: https://git.openjdk.java.net/jdk/pull/6591


More information about the hotspot-jfr-dev mailing list