RFR: 8284849: Add deoptimization to unified logging

Jorn Vernee jvernee at openjdk.java.net
Tue May 24 14:21:50 UTC 2022


On Tue, 24 May 2022 14:00:10 GMT, Johan Sjölén <duke at openjdk.java.net> wrote:

> I'm not sure whether we can know if something was an OCR compilation or not.

`CompiledMethod` has the function `is_osr_method` which I think can be used for that. The code in question seems to be dealing with a `CompiledMethod*` already (https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/deoptimization.cpp#L1876)

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

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


More information about the hotspot-dev mailing list