提交 50619040 编写于 作者: J johnc

7020042: G1: Partially remove fix for 6994628

Summary: Disable reference discovery and processing during concurrent marking by disabling fix for 6994628.
Reviewed-by: tonyp, ysr
上级 cd2766a4
...@@ -3203,8 +3203,12 @@ public: ...@@ -3203,8 +3203,12 @@ public:
CMTask* task) CMTask* task)
: _g1h(g1h), _cm(cm), _task(task) : _g1h(g1h), _cm(cm), _task(task)
{ {
_ref_processor = g1h->ref_processor(); assert(_ref_processor == NULL, "should be initialized to NULL");
assert(_ref_processor != NULL, "should not be NULL");
if (G1UseConcMarkReferenceProcessing) {
_ref_processor = g1h->ref_processor();
assert(_ref_processor != NULL, "should not be NULL");
}
} }
}; };
......
...@@ -89,6 +89,11 @@ ...@@ -89,6 +89,11 @@
"The number of discovered reference objects to process before " \ "The number of discovered reference objects to process before " \
"draining concurrent marking work queues.") \ "draining concurrent marking work queues.") \
\ \
experimental(bool, G1UseConcMarkReferenceProcessing, false, \
"If true, enable reference discovery during concurrent " \
"marking and reference processing at the end of remark " \
"(unsafe).") \
\
develop(bool, G1SATBBarrierPrintNullPreVals, false, \ develop(bool, G1SATBBarrierPrintNullPreVals, false, \
"If true, count frac of ptr writes with null pre-vals.") \ "If true, count frac of ptr writes with null pre-vals.") \
\ \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册