8203787: Hotspot build broken on linux-sparc after 8202377
Reviewed-by: dholmes, eosterlund
--- a/src/hotspot/share/opto/library_call.cpp Tue Jun 05 09:29:15 2018 +0200
+++ b/src/hotspot/share/opto/library_call.cpp Tue Jun 05 13:02:01 2018 +0200
@@ -29,8 +29,9 @@
#include "classfile/vmSymbols.hpp"
#include "compiler/compileBroker.hpp"
#include "compiler/compileLog.hpp"
+#include "gc/shared/barrierSet.hpp"
+#include "jfr/support/jfrIntrinsics.hpp"
#include "memory/resourceArea.hpp"
-#include "jfr/support/jfrIntrinsics.hpp"
#include "oops/objArrayKlass.hpp"
#include "opto/addnode.hpp"
#include "opto/arraycopynode.hpp"
--- a/src/hotspot/share/opto/macroArrayCopy.cpp Tue Jun 05 09:29:15 2018 +0200
+++ b/src/hotspot/share/opto/macroArrayCopy.cpp Tue Jun 05 13:02:01 2018 +0200
@@ -23,6 +23,7 @@
*/
#include "precompiled.hpp"
+#include "gc/shared/barrierSet.hpp"
#include "opto/arraycopynode.hpp"
#include "oops/objArrayKlass.hpp"
#include "opto/convertnode.hpp"