< prev index next >

src/share/vm/opto/runtime.cpp

Print this page
rev 12854 : [mq]: gcinterface.patch

@@ -202,14 +202,14 @@
   // NOTE: Keep this code consistent with GraphKit::store_barrier.
 
   oop new_obj = thread->vm_result();
   if (new_obj == NULL)  return;
 
-  assert(Universe::heap()->can_elide_tlab_store_barriers(),
+  assert(GC::gc()->heap()->can_elide_tlab_store_barriers(),
          "compiler must check this first");
   // GC may decide to give back a safer copy of new_obj.
-  new_obj = Universe::heap()->new_store_pre_barrier(thread, new_obj);
+  new_obj = GC::gc()->heap()->new_store_pre_barrier(thread, new_obj);
   thread->set_vm_result(new_obj);
 }
 
 // object allocation
 JRT_BLOCK_ENTRY(void, OptoRuntime::new_instance_C(Klass* klass, JavaThread* thread))
< prev index next >