RFR: JDK-8278329: some TraceDeoptimization code not included in PRODUCT build [v2]

Tobias Holenstein duke at openjdk.java.net
Thu Jan 6 14:15:38 UTC 2022


> After "JDK-8154011: Make `TraceDeoptimization` a diagnostic flag" some code was not included in the PRODUCT build. 
> 
> Removed all the #ifndef PRODUCT guards around `TraceDeoptimization` checks and made sure to be consistent. 
> 
> The DEOPT PACKING messages were controlled by `PrintDeoptimizationDetails` (develop flag), but DEOPT UNPACKING is controlled by `TraceDeoptimization` (product flag),. Therefore changed DEOPT PACKING messages to be controlled by `TraceDeoptimization` as well. 
> 
> Checked that tests are not affected. Checked on Aurora that performance is not affected.

Tobias Holenstein has updated the pull request incrementally with one additional commit since the last revision:

  Cleanup output of TraceDeoptimization

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6746/files
  - new: https://git.openjdk.java.net/jdk/pull/6746/files/eac86b9c..0406fb65

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6746&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6746&range=00-01

  Stats: 92 lines in 3 files changed: 48 ins; 30 del; 14 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6746.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6746/head:pull/6746

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


More information about the hotspot-dev mailing list