hotspot/src/share/vm/gc_implementation/g1/g1ParScanThreadState.hpp
changeset 30568 d0a24d56d8ea
parent 30564 a37d98a1eb54
parent 30566 18eb9aa972d0
--- a/hotspot/src/share/vm/gc_implementation/g1/g1ParScanThreadState.hpp	Mon Apr 27 10:04:26 2015 +0200
+++ b/hotspot/src/share/vm/gc_implementation/g1/g1ParScanThreadState.hpp	Tue Apr 28 12:17:56 2015 +0000
@@ -100,10 +100,7 @@
   bool verify_task(StarTask ref) const;
 #endif // ASSERT
 
-  template <class T> void push_on_queue(T* ref) {
-    assert(verify_ref(ref), "sanity");
-    _refs->push(ref);
-  }
+  template <class T> void push_on_queue(T* ref);
 
   template <class T> void update_rs(HeapRegion* from, T* p, uint tid) {
     // If the new value of the field points to the same region or