src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp
changeset 49806 2d62570a615c
parent 49719 a0f5f7868091
child 50429 83aec1d357d4
--- a/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp	Wed Apr 18 11:36:48 2018 +0200
+++ b/src/hotspot/share/gc/g1/g1CollectedHeap.inline.hpp	Wed Apr 18 11:36:48 2018 +0200
@@ -47,7 +47,7 @@
 }
 
 size_t G1CollectedHeap::desired_plab_sz(InCSetState dest) {
-  size_t gclab_word_size = alloc_buffer_stats(dest)->desired_plab_sz(G1CollectedHeap::heap()->workers()->active_workers());
+  size_t gclab_word_size = alloc_buffer_stats(dest)->desired_plab_sz(workers()->active_workers());
   // Prevent humongous PLAB sizes for two reasons:
   // * PLABs are allocated using a similar paths as oops, but should
   //   never be in a humongous region