1.1 --- a/src/share/vm/opto/graphKit.cpp Fri Aug 31 16:39:35 2012 -0700 1.2 +++ b/src/share/vm/opto/graphKit.cpp Sat Sep 01 13:25:18 2012 -0400 1.3 @@ -3446,12 +3446,6 @@ 1.4 if (t == TypePtr::NULL_PTR || t == Type::TOP) 1.5 // stores of null never (?) need barriers 1.6 return; 1.7 - ciObject* con = t->is_oopptr()->const_oop(); 1.8 - if (con != NULL 1.9 - && con->is_perm() 1.10 - && Universe::heap()->can_elide_permanent_oop_store_barriers()) 1.11 - // no store barrier needed, because no old-to-new ref created 1.12 - return; 1.13 } 1.14 1.15 if (use_ReduceInitialCardMarks()