--- old/src/share/vm/gc/g1/g1RemSet.hpp 2015-11-11 11:12:52.092974945 -0500 +++ new/src/share/vm/gc/g1/g1RemSet.hpp 2015-11-11 11:12:50.776899958 -0500 @@ -54,16 +54,6 @@ uint n_workers(); protected: - enum SomePrivateConstants { - UpdateRStoMergeSync = 0, - MergeRStoDoDirtySync = 1, - DoDirtySync = 2, - LastSync = 3, - - SeqTask = 0, - NumSeqTasks = 1 - }; - CardTableModRefBS* _ct_bs; G1CollectorPolicy* _g1p; @@ -123,7 +113,6 @@ // Record, if necessary, the fact that *p (where "p" is in region "from", // which is required to be non-NULL) has changed to a new non-NULL value. - template void write_ref(HeapRegion* from, T* p); template void par_write_ref(HeapRegion* from, T* p, uint tid); // Requires "region_bm" and "card_bm" to be bitmaps with 1 bit per region --- old/src/share/vm/gc/g1/g1RemSet.inline.hpp 2015-11-11 11:12:56.169207205 -0500 +++ new/src/share/vm/gc/g1/g1RemSet.inline.hpp 2015-11-11 11:12:54.849131990 -0500 @@ -35,11 +35,6 @@ } template -inline void G1RemSet::write_ref(HeapRegion* from, T* p) { - par_write_ref(from, p, 0); -} - -template inline void G1RemSet::par_write_ref(HeapRegion* from, T* p, uint tid) { oop obj = oopDesc::load_decode_heap_oop(p); if (obj == NULL) {