RFR (L): 8208671: Runtime, JFR, Serviceability changes to allow enabling -Wreorder

Thomas Schatzl thomas.schatzl at oracle.com
Thu Aug 2 09:09:47 UTC 2018


Hi all,

  there have been several suggestions to try to fix the Hotspot code to
allow us to enable -Wreorder in the Hotspot sources.
This should make problems due to use-before-initialization much more
obvious.

This change fixes initializer lists for the runtime, jfr and
serviceability directories.

There should be no change in code behavior.

A later follow-up will enable -Wreorder in the makefiles.

CR:
https://bugs.openjdk.java.net/browse/JDK-8208671
Webrev:
http://cr.openjdk.java.net/~tschatzl/8208671/webrev/
Testing:
hs-tier1-4,jdk-tier1-3

Thanks,
  Thomas


More information about the hotspot-dev mailing list