RFR(XS): JDK-8214272: Don't use memset to initialize arrays of MemoryUsage in memoryManager.cpp
    Dmitry Chuyko 
    dmitry.chuyko at bell-sw.com
       
    Tue Nov 27 08:20:34 UTC 2018
    
    
  
Hello,
GCC 8 threats zeroing of non-trivial objects array with memset() as an 
error. Please review a small patch that puts 'replacement new' instead 
of memset() in GCStatInfo::clear().
rfe: https://bugs.openjdk.java.net/browse/JDK-8214272
webrev: http://cr.openjdk.java.net/~dchuyko/8214272/webrev.00/
testing: dev-submit
-Dmitry
    
    
More information about the hotspot-runtime-dev
mailing list