src/share/vm/c1/c1_ValueMap.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/c1/c1_ValueMap.hpp	Tue Mar  1 10:30:32 2011
--- new/src/share/vm/c1/c1_ValueMap.hpp	Tue Mar  1 10:30:32 2011

*** 139,149 **** --- 139,150 ---- virtual void kill_field(ciField* field) = 0; virtual void kill_array(ValueType* type) = 0; // visitor functions void do_StoreField (StoreField* x) { ! if (!x->is_initialized()) { ! if (x->is_init_point()) { + // putstatic is an initialization point so treat it as a wide kill kill_memory(); } else { kill_field(x->field()); } }
*** 157,167 **** --- 158,169 ---- void do_Phi (Phi* x) { /* nothing to do */ } void do_Local (Local* x) { /* nothing to do */ } void do_Constant (Constant* x) { /* nothing to do */ } void do_LoadField (LoadField* x) { ! if (!x->is_initialized()) { ! if (x->is_init_point()) { + // getstatic is an initialization point so treat it as a wide kill kill_memory(); } } void do_ArrayLength (ArrayLength* x) { /* nothing to do */ } void do_LoadIndexed (LoadIndexed* x) { /* nothing to do */ }

src/share/vm/c1/c1_ValueMap.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File