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