changeset 49170:49e095e658c7

8198703: Missing #include "gc/shared/cardTableModRefBS.hpp" in graphKit.hpp Reviewed-by: thartmann, goetz, kvn
author eosterlund
date Mon, 26 Feb 2018 18:04:43 +0100
parents af8578e25d17
children 6ecca4a9c75f
files src/hotspot/share/opto/graphKit.cpp src/hotspot/share/opto/graphKit.hpp
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/opto/graphKit.cpp	Mon Feb 26 11:28:05 2018 -0500
+++ b/src/hotspot/share/opto/graphKit.cpp	Mon Feb 26 18:04:43 2018 +0100
@@ -3809,6 +3809,13 @@
 //----------------------------- store barriers ----------------------------
 #define __ ideal.
 
+bool GraphKit::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;
+}
+
 void GraphKit::sync_kit(IdealKit& ideal) {
   set_all_memory(__ merged_memory());
   set_i_o(__ i_o());
--- a/src/hotspot/share/opto/graphKit.hpp	Mon Feb 26 11:28:05 2018 -0500
+++ b/src/hotspot/share/opto/graphKit.hpp	Mon Feb 26 18:04:43 2018 +0100
@@ -754,12 +754,7 @@
   // 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;
-  }
+  static bool use_ReduceInitialCardMarks();
 
   // Sync Ideal and Graph kits.
   void sync_kit(IdealKit& ideal);