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

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Aug 2 16:31:17 UTC 2018


Looks good to me.

Thanks,
Vladimir

On 8/2/18 2:08 AM, Thomas Schatzl wrote:
> 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