--- a/src/hotspot/share/gc/parallel/asPSYoungGen.cpp Thu Apr 26 12:54:53 2018 +0200
+++ b/src/hotspot/share/gc/parallel/asPSYoungGen.cpp Thu May 03 14:09:00 2018 +0200
@@ -496,7 +496,7 @@
_reserved = MemRegion((HeapWord*)virtual_space()->low_boundary(),
(HeapWord*)virtual_space()->high_boundary());
- PSScavenge::reference_processor()->set_span(_reserved);
+ PSScavenge::set_subject_to_discovery_span(_reserved);
HeapWord* new_eden_bottom = (HeapWord*)virtual_space()->low();
HeapWord* eden_bottom = eden_space()->bottom();