RFR (L): 8208670: Compiler changes to allow enabling -Wreorder

Thomas Schatzl thomas.schatzl at oracle.com
Thu Aug 2 09:08:36 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 compiler 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-8208670
Webrev:
http://cr.openjdk.java.net/~tschatzl/8208670/webrev/
Testing:
hs-tier1-4,jdk-tier1-3

Thanks,
  Thomas


More information about the hotspot-dev mailing list