[master] RFR: Deflate monitors of dead objects before they become unreachable

Aleksey Shipilev shade at openjdk.java.net
Tue Nov 30 13:03:19 UTC 2021


On Tue, 30 Nov 2021 12:57:11 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

> In mainline this means it only needs to access the Klass* field, which is still in place, but in Lilliput this needs to access the object header

Ah! Now I understand why Lilliput is affected by this. Okay then. Consider adding a blurb near `ObjectMonitor::maybe_deflate_dead`, something like: "// We might access the dead object headers for parsable heap walk, make sure headers are in correct shape, e.g. monitors deflated".

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

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


More information about the lilliput-dev mailing list