changeset 56634:293ba598ee68 epsilon-gc-branch

Fix COMPILER2 handling: include macros.hpp before use
author shade
date Wed, 30 May 2018 14:02:58 +0200
parents 28d61698c79e
children 50ad8ee62366
files src/hotspot/share/gc/epsilon/epsilonArguments.cpp src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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