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

David Holmes david.holmes at oracle.com
Thu Aug 2 12:34:02 UTC 2018


Hi Thomas,

On 2/08/2018 7:09 PM, 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.

Can you enlighten us on what -Wreorder is/does and so what changes you 
are making please.

Thanks,
David

> 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