RFR: 8298205: Prefer Member Initialization Lists for JFR classes in os_perf.hpp [v2]

Tyler Steele tsteele at openjdk.org
Wed Dec 7 15:32:49 UTC 2022


> Unless there is a reason that I am unaware of for initializing member variables in this way, I believe it is better to use init lists here instead.

Tyler Steele has updated the pull request incrementally with one additional commit since the last revision:

  Changes NULL -> nullptr

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11547/files
  - new: https://git.openjdk.org/jdk/pull/11547/files/53546607..8ced110d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11547&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11547&range=00-01

  Stats: 8 lines in 1 file changed: 0 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/11547.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11547/head:pull/11547

PR: https://git.openjdk.org/jdk/pull/11547


More information about the hotspot-runtime-dev mailing list