diff --git a/src/hotspot/share/opto/graphKit.hpp b/src/hotspot/share/opto/graphKit.hpp index c589fe8..bf72444 100644 --- a/src/hotspot/share/opto/graphKit.hpp +++ b/src/hotspot/share/opto/graphKit.hpp @@ -754,12 +754,7 @@ class GraphKit : public Phase { // Returns the object (if any) which was created the moment before. Node* just_allocated_object(Node* current_control); - static bool use_ReduceInitialCardMarks() { - BarrierSet *bs = Universe::heap()->barrier_set(); - return bs->is_a(BarrierSet::CardTableModRef) - && barrier_set_cast(bs)->can_elide_tlab_store_barriers() - && ReduceInitialCardMarks; - } + static bool use_ReduceInitialCardMarks(); // Sync Ideal and Graph kits. void sync_kit(IdealKit& ideal);