< prev index next >

src/share/vm/code/relocInfo.hpp

Print this page

        

@@ -490,11 +490,11 @@
 
  private:
   // this preallocated memory must accommodate all subclasses of Relocation
   // (this number is assertion-checked in Relocation::operator new)
   enum { _relocbuf_size = 5 };
-  void* _relocbuf[ _relocbuf_size ];
+  void* _relocbuf[ _relocbuf_size ] = {0};
 
  public:
   Relocation* reloc() const { return (Relocation*) &_relocbuf[0]; }
   inline relocInfo::relocType type() const;
 
< prev index next >