< prev index next >

src/hotspot/share/opto/callnode.cpp

Print this page
rev 55090 : secret-sfac

@@ -1453,12 +1453,11 @@
 }
 
 void AllocateNode::compute_MemBar_redundancy(ciMethod* initializer)
 {
   assert(initializer != NULL &&
-         initializer->is_initializer() &&
-         !initializer->is_static(),
+         initializer->is_object_constructor_or_class_initializer(),
              "unexpected initializer method");
   BCEscapeAnalyzer* analyzer = initializer->get_bcea();
   if (analyzer == NULL) {
     return;
   }
< prev index next >