Fix COMPILER2 handling: include macros.hpp before use epsilon-gc-branch
authorshade
Wed, 30 May 2018 14:02:58 +0200
branchepsilon-gc-branch
changeset 56634 293ba598ee68
parent 56633 28d61698c79e
child 56635 50ad8ee62366
Fix COMPILER2 handling: include macros.hpp before use
src/hotspot/share/gc/epsilon/epsilonArguments.cpp
src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp
--- a/src/hotspot/share/gc/epsilon/epsilonArguments.cpp	Wed May 30 13:45:02 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonArguments.cpp	Wed May 30 14:02:58 2018 +0200
@@ -30,6 +30,7 @@
 #include "runtime/globals.hpp"
 #include "runtime/globals_extension.hpp"
 #include "runtime/vm_version.hpp"
+#include "utilities/macros.hpp"
 
 size_t EpsilonArguments::conservative_max_heap_alignment() {
   return UseLargePages ? os::large_page_size() : os::vm_page_size();
--- a/src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp	Wed May 30 13:45:02 2018 +0200
+++ b/src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp	Wed May 30 14:02:58 2018 +0200
@@ -28,6 +28,7 @@
 #include "gc/shared/collectorPolicy.hpp"
 #include "gc/shared/barrierSet.hpp"
 #include "gc/shared/barrierSetAssembler.hpp"
+#include "utilities/macros.hpp"
 #ifdef COMPILER1
 #include "gc/shared/c1/barrierSetC1.hpp"
 #endif