[master] RFR: Preserve Klass* in leak profiler

Roman Kennke rkennke at openjdk.java.net
Fri Oct 15 12:54:17 UTC 2021


On Fri, 15 Oct 2021 11:10:27 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> All right. This is cherry-pick of upstream change, right? Looks good then.

Well, not quite. Markus made the change in upstream PR, but hasn't been integrated into upstream JDK, yet. And I am not sure if he has any intention to do so. The change doesn't even have a bug-id, yet:
https://github.com/openjdk/jdk/pull/5918

The only difference to Markus' change is the additional change in  src/hotspot/share/jfr/leakprofiler/chains/objectSampleMarker.hpp. The intention is to not entirely reset the mark-word when marking objects for leak-profiler-traversal, but to preserve the Klass* part.

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

PR: https://git.openjdk.java.net/lilliput/pull/21


More information about the lilliput-dev mailing list