8144908: Remove apply_to_weak_ref_discovered_field override for UpdateRSOopClosure
authorsjohanss
Fri, 11 Dec 2015 17:49:42 +0100
changeset 35070 1a30c4d1f1c5
parent 35069 24d8a63c9486
child 35072 10df35fbf0b7
8144908: Remove apply_to_weak_ref_discovered_field override for UpdateRSOopClosure Reviewed-by: kbarrett, jmasa
hotspot/src/share/vm/gc/g1/g1RemSet.hpp
--- a/hotspot/src/share/vm/gc/g1/g1RemSet.hpp	Fri Dec 11 17:49:41 2015 +0100
+++ b/hotspot/src/share/vm/gc/g1/g1RemSet.hpp	Fri Dec 11 17:49:42 2015 +0100
@@ -198,10 +198,6 @@
 
   virtual void do_oop(narrowOop* p) { do_oop_work(p); }
   virtual void do_oop(oop* p)       { do_oop_work(p); }
-
-  // Override: this closure is idempotent.
-  //  bool idempotent() { return true; }
-  bool apply_to_weak_ref_discovered_field() { return true; }
 };
 
 #endif // SHARE_VM_GC_G1_G1REMSET_HPP