hotspot/src/share/vm/gc/g1/concurrentG1Refine.hpp
changeset 33204 b8a3901ac5b3
parent 32738 a1adf25202fd
child 33608 7afc768e4d62
--- a/hotspot/src/share/vm/gc/g1/concurrentG1Refine.hpp	Tue Oct 13 08:37:44 2015 +0200
+++ b/hotspot/src/share/vm/gc/g1/concurrentG1Refine.hpp	Tue Oct 13 14:49:13 2015 +0200
@@ -112,6 +112,8 @@
   int thread_threshold_step() const { return _thread_threshold_step; }
 
   G1HotCardCache* hot_card_cache() { return &_hot_card_cache; }
+
+  static bool hot_card_cache_enabled() { return G1HotCardCache::default_use_cache(); }
 };
 
 #endif // SHARE_VM_GC_G1_CONCURRENTG1REFINE_HPP