JDK-8213745 : Don't use memset to initialize array of RegMask in matcher.cpp
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2018-11-12
  • Updated: 2025-08-29
  • Resolved: 2018-11-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12
11.0.30-oracleFixed 12 b20Fixed
Related Reports
Relates :  
Description
While working on something in src/hotspot/share/opto/matcher.cpp I noticed the compiler (gcc 8.2.1) complaining about using memset to initialize a RegMask[]. We should use the RegMask initializer instead.
Comments
URL: http://hg.openjdk.java.net/jdk/jdk/rev/710e5a66a64e User: rkennke Date: 2018-11-12 21:00:26 +0000
12-11-2018