hotspot/src/share/vm/memory/genCollectedHeap.hpp
changeset 30271 97a537c6526e
parent 30258 413e15d1b146
--- a/hotspot/src/share/vm/memory/genCollectedHeap.hpp	Mon Apr 20 16:18:02 2015 +0200
+++ b/hotspot/src/share/vm/memory/genCollectedHeap.hpp	Mon Apr 20 08:53:08 2015 +0200
@@ -273,11 +273,6 @@
   // only and may need to be re-examined in case other
   // kinds of collectors are implemented in the future.
   virtual bool can_elide_initializing_store_barrier(oop new_obj) {
-    // We wanted to assert that:-
-    // assert(UseSerialGC || UseConcMarkSweepGC,
-    //       "Check can_elide_initializing_store_barrier() for this collector");
-    // but unfortunately the flag UseSerialGC need not necessarily always
-    // be set when DefNew+Tenured are being used.
     return is_in_young(new_obj);
   }