hotspot/src/share/vm/opto/graphKit.cpp
changeset 4637 af4d405aacc1
parent 4566 b363f6ef4068
child 4893 fedc27b54caa
child 4761 bdb7375a1fee
--- a/hotspot/src/share/vm/opto/graphKit.cpp	Tue Jan 12 14:56:46 2010 -0800
+++ b/hotspot/src/share/vm/opto/graphKit.cpp	Wed Jan 13 15:26:39 2010 -0800
@@ -3259,9 +3259,10 @@
   if (use_ReduceInitialCardMarks()
       && obj == just_allocated_object(control())) {
     // We can skip marks on a freshly-allocated object in Eden.
-    // Keep this code in sync with maybe_defer_card_mark() in runtime.cpp.
-    // That routine informs GC to take appropriate compensating steps
-    // so as to make this card-mark elision safe.
+    // Keep this code in sync with new_store_pre_barrier() in runtime.cpp.
+    // That routine informs GC to take appropriate compensating steps,
+    // upon a slow-path allocation, so as to make this card-mark
+    // elision safe.
     return;
   }