src/hotspot/share/gc/serial/markSweep.cpp
changeset 47885 5caa1d5f74c1
parent 47216 71c04702a3d5
child 47897 eb3696e0c6d8
--- a/src/hotspot/share/gc/serial/markSweep.cpp	Mon Oct 30 08:34:54 2017 +0100
+++ b/src/hotspot/share/gc/serial/markSweep.cpp	Tue Nov 14 11:33:23 2017 +0100
@@ -65,13 +65,6 @@
 CLDToOopClosure               MarkSweep::adjust_cld_closure(&adjust_pointer_closure);
 
 inline void MarkSweep::mark_object(oop obj) {
-#if INCLUDE_ALL_GCS
-  if (G1StringDedup::is_enabled()) {
-    // We must enqueue the object before it is marked
-    // as we otherwise can't read the object's age.
-    G1StringDedup::enqueue_from_mark(obj);
-  }
-#endif
   // some marks may contain information we need to preserve so we store them away
   // and overwrite the mark.  We'll restore it at the end of markSweep.
   markOop mark = obj->mark();