RFR: JDK-8213745: Don't use memset to initialize array of RegMask in matcher.cpp

Roman Kennke rkennke at redhat.com
Mon Nov 12 15:53:23 UTC 2018


While working on something in src/hotspot/share/opto/matcher.cpp I
noticed the compiler (gcc 8.2.1) complaining/warning about using memset
to initialize a RegMask[]. We should use the RegMask initializer instead.

Bug:
https://bugs.openjdk.java.net/browse/JDK-8213745
Webrev:
http://cr.openjdk.java.net/~rkennke/JDK-8213745/webrev.00/

Testing: passes tier1

Ok?

Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20181112/cf404a2c/signature.asc>


More information about the hotspot-compiler-dev mailing list