8150421: Delete experimental G1UseConcMarkReferenceProcessing
authorkbarrett
Sun, 28 Feb 2016 12:22:05 -0500
changeset 36373 231e01457f13
parent 36372 b33937c0acdc
child 36374 613f27cc37b9
8150421: Delete experimental G1UseConcMarkReferenceProcessing Summary: Removed the option and supporting code. Reviewed-by: jmasa, tamao
hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp
hotspot/src/share/vm/gc/g1/g1_globals.hpp
--- a/hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp	Sat Feb 27 00:07:03 2016 +0000
+++ b/hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp	Sun Feb 28 12:22:05 2016 -0500
@@ -2702,11 +2702,8 @@
 };
 
 static ReferenceProcessor* get_cm_oop_closure_ref_processor(G1CollectedHeap* g1h) {
-  ReferenceProcessor* result = NULL;
-  if (G1UseConcMarkReferenceProcessing) {
-    result = g1h->ref_processor_cm();
-    assert(result != NULL, "should not be NULL");
-  }
+  ReferenceProcessor* result = g1h->ref_processor_cm();
+  assert(result != NULL, "CM reference processor should not be NULL");
   return result;
 }
 
--- a/hotspot/src/share/vm/gc/g1/g1_globals.hpp	Sat Feb 27 00:07:03 2016 +0000
+++ b/hotspot/src/share/vm/gc/g1/g1_globals.hpp	Sun Feb 28 12:22:05 2016 -0500
@@ -71,10 +71,6 @@
           "draining concurrent marking work queues.")                       \
           range(1, max_intx)                                                \
                                                                             \
-  experimental(bool, G1UseConcMarkReferenceProcessing, true,                \
-          "If true, enable reference discovery during concurrent "          \
-          "marking and reference processing at the end of remark.")         \
-                                                                            \
   experimental(double, G1LastPLABAverageOccupancy, 50.0,                    \
                "The expected average occupancy of the last PLAB in "        \
                "percent.")                                                  \