RFR(11u): 8222079: Don't use memset to initialize fields decode_env constructor in disassembler.cpp
Andrew Haley
aph at redhat.com
Wed Jul 29 13:59:19 UTC 2020
On 29/07/2020 12:32, Roman Kennke wrote:
> Can I please get a review for the following 11u-backport:
> http://cr.openjdk.java.net/~rkennke/JDK-8222079-jdk11u/webrev.00/
> ?
>
> The original change is considerably different (and more complicated
> because there are more constructors to take care of):
> http://hg.openjdk.java.net/jdk/jdk/rev/963924f1c891
>
> The change is useful in 11u because it removes a warning (that is
> treated like an error by default) when compiling with GCC9+.
I think it's worse than that, and it's actually UB.
> Testing: tier1 & tier2 without regressions
>
> Is this ok for 11u?
Yes.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the jdk-updates-dev
mailing list