# HG changeset patch # User mgerdin # Date 1500276607 -7200 # Node ID f17cefd211b48f276ed1dacbb94892f9defed29f # Parent 2894e4262fd6b484caae8390a6e394a3e28cfd40 8183935: G1GCPhaseTimes and G1RootProcessor do not include macros.hpp Reviewed-by: tschatzl, ehelin diff -r 2894e4262fd6 -r f17cefd211b4 hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp --- a/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp Mon Jul 17 16:31:51 2017 -0700 +++ b/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.cpp Mon Jul 17 09:30:07 2017 +0200 @@ -32,6 +32,7 @@ #include "logging/log.hpp" #include "runtime/timer.hpp" #include "runtime/os.hpp" +#include "utilities/macros.hpp" static const char* Indents[5] = {"", " ", " ", " ", " "}; diff -r 2894e4262fd6 -r f17cefd211b4 hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.hpp --- a/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.hpp Mon Jul 17 16:31:51 2017 -0700 +++ b/hotspot/src/share/vm/gc/g1/g1GCPhaseTimes.hpp Mon Jul 17 09:30:07 2017 +0200 @@ -27,6 +27,7 @@ #include "logging/logLevel.hpp" #include "memory/allocation.hpp" +#include "utilities/macros.hpp" class LineBuffer; diff -r 2894e4262fd6 -r f17cefd211b4 hotspot/src/share/vm/gc/g1/g1RootProcessor.cpp --- a/hotspot/src/share/vm/gc/g1/g1RootProcessor.cpp Mon Jul 17 16:31:51 2017 -0700 +++ b/hotspot/src/share/vm/gc/g1/g1RootProcessor.cpp Mon Jul 17 09:30:07 2017 +0200 @@ -41,6 +41,7 @@ #include "runtime/fprofiler.hpp" #include "runtime/mutex.hpp" #include "services/management.hpp" +#include "utilities/macros.hpp" void G1RootProcessor::worker_has_discovered_all_strong_classes() { assert(ClassUnloadingWithConcurrentMark, "Currently only needed when doing G1 Class Unloading");