hotspot/src/share/vm/interpreter/interpreter.hpp
changeset 26432 9b974e2eae27
parent 25715 d5a8dbdc5150
child 29201 fee2bbb2ec1d
child 29180 50369728b00e
--- a/hotspot/src/share/vm/interpreter/interpreter.hpp	Fri Aug 29 13:46:50 2014 +0000
+++ b/hotspot/src/share/vm/interpreter/interpreter.hpp	Fri Aug 29 19:45:49 2014 -0400
@@ -55,7 +55,9 @@
  public:
   // Initialization/finalization
   void    initialize(int size,
-                     CodeStrings& strings)       { _size = size; DEBUG_ONLY(_strings.assign(strings);) }
+                     CodeStrings& strings)       { _size = size;
+                                                   DEBUG_ONLY(::new(&_strings) CodeStrings();)
+                                                   DEBUG_ONLY(_strings.assign(strings);) }
   void    finalize()                             { ShouldNotCallThis(); }
 
   // General info/converters