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

Tobias Holenstein duke at openjdk.java.net
Fri Jan 7 10:56:36 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:

  minor style issues

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

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

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

  Stats: 2 lines in 2 files changed: 0 ins; 1 del; 1 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