src/hotspot/share/gc/shared/vmGCOperations.cpp
changeset 49047 8f004146e407
parent 47216 71c04702a3d5
child 49449 ef5d5d343e2a
--- a/src/hotspot/share/gc/shared/vmGCOperations.cpp	Thu Feb 22 18:35:40 2018 +0100
+++ b/src/hotspot/share/gc/shared/vmGCOperations.cpp	Thu Feb 22 18:36:07 2018 +0100
@@ -46,7 +46,7 @@
 
 VM_GC_Operation::~VM_GC_Operation() {
   CollectedHeap* ch = Universe::heap();
-  ch->collector_policy()->set_all_soft_refs_clear(false);
+  ch->soft_ref_policy()->set_all_soft_refs_clear(false);
 }
 
 // The same dtrace probe can't be inserted in two different files, so we