< prev index next >

src/hotspot/share/opto/graphKit.hpp

RFE_8195103_reduce_initial_card_marks

*** 1,7 **** /* ! * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. ***************
*** 753,764 **** // Returns the object (if any) which was created the moment before. Node* just_allocated_object(Node* current_control); static bool use_ReduceInitialCardMarks() { ! return (ReduceInitialCardMarks ! && Universe::heap()->can_elide_tlab_store_barriers()); } // Sync Ideal and Graph kits. void sync_kit(IdealKit& ideal); void final_sync(IdealKit& ideal); --- 753,766 ---- // 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<CardTableModRefBS>(bs)->can_elide_tlab_store_barriers() ! && ReduceInitialCardMarks; } // Sync Ideal and Graph kits. void sync_kit(IdealKit& ideal); void final_sync(IdealKit& ideal);
< prev index next >