8282307: Parallel: Incorrect discovery mode in PCReferenceProcessor
Reviewed-by: tschatzl, kbarrett
This commit is contained in:
parent
0b6862e803
commit
20e78f7a8e
@ -851,11 +851,10 @@ public:
|
|||||||
BoolObjectClosure* is_subject_to_discovery,
|
BoolObjectClosure* is_subject_to_discovery,
|
||||||
BoolObjectClosure* is_alive_non_header) :
|
BoolObjectClosure* is_alive_non_header) :
|
||||||
ReferenceProcessor(is_subject_to_discovery,
|
ReferenceProcessor(is_subject_to_discovery,
|
||||||
ParallelGCThreads, // mt processing degree
|
ParallelGCThreads, // mt processing degree
|
||||||
ParallelGCThreads, // mt discovery degree
|
ParallelGCThreads, // mt discovery degree
|
||||||
true, // atomic_discovery
|
false, // concurrent_discovery
|
||||||
is_alive_non_header) {
|
is_alive_non_header) {}
|
||||||
}
|
|
||||||
|
|
||||||
template<typename T> bool discover(oop obj, ReferenceType type) {
|
template<typename T> bool discover(oop obj, ReferenceType type) {
|
||||||
T* referent_addr = (T*) java_lang_ref_Reference::referent_addr_raw(obj);
|
T* referent_addr = (T*) java_lang_ref_Reference::referent_addr_raw(obj);
|
||||||
|
Loading…
Reference in New Issue
Block a user