RFR: JDK-8154011: Make TraceDeoptimization a diagnostic flag
Doug Simon
dnsimon at openjdk.java.net
Mon Dec 6 21:03:17 UTC 2021
On Fri, 3 Dec 2021 16:14:50 GMT, Tobias Holenstein <duke at openjdk.java.net> wrote:
> Make TraceDeoptimization available in a product build.
>
> I checked that performance is not affected on Aurora.
Sorry for only bringing it up now, but @tkrodriguez just observed that several of the places that test `TraceDeoptimization` aren't included in a `PRODUCT` build. In particular, [here](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/vframeArray.cpp#L443), [here](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/deoptimization.cpp#L265), and [here](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/runtime/deoptimization.cpp#L731). Without these bits of code included, the functionality of `TraceDeoptimzation` is somewhat compromised.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6703
More information about the hotspot-compiler-dev
mailing list