diff --git a/src/hotspot/share/opto/mulnode.cpp b/src/hotspot/share/opto/mulnode.cpp index 7125f8a0406..ea97aac28d7 100644 --- a/src/hotspot/share/opto/mulnode.cpp +++ b/src/hotspot/share/opto/mulnode.cpp @@ -22,6 +22,7 @@ * */ +#include "memory/allocation.inline.hpp" #include "opto/addnode.hpp" #include "opto/connode.hpp" #include "opto/convertnode.hpp" diff --git a/src/hotspot/share/opto/type.cpp b/src/hotspot/share/opto/type.cpp index c46e3efb22e..8dfadfa694c 100644 --- a/src/hotspot/share/opto/type.cpp +++ b/src/hotspot/share/opto/type.cpp @@ -26,10 +26,15 @@ #include "ci/ciTypeFlow.hpp" #include "classfile/javaClasses.hpp" #include "classfile/symbolTable.hpp" +#include "classfile/vmSymbols.hpp" #include "compiler/compileLog.hpp" #include "libadt/dict.hpp" +#include "memory/oopFactory.hpp" #include "memory/resourceArea.hpp" +#include "oops/instanceKlass.hpp" #include "oops/instanceMirrorKlass.hpp" +#include "oops/objArrayKlass.hpp" +#include "oops/typeArrayKlass.hpp" #include "opto/arraycopynode.hpp" #include "opto/callnode.hpp" #include "opto/matcher.hpp" @@ -43,6 +48,7 @@ #include "utilities/debug.hpp" #include "utilities/globalDefinitions.hpp" #include "utilities/ostream.hpp" +#include "utilities/powerOfTwo.hpp" #include "utilities/stringUtils.hpp" // Portions of code courtesy of Clifford Click diff --git a/src/hotspot/share/opto/type.hpp b/src/hotspot/share/opto/type.hpp index 3e912fd5355..fe46eb2fbe4 100644 --- a/src/hotspot/share/opto/type.hpp +++ b/src/hotspot/share/opto/type.hpp @@ -28,6 +28,7 @@ #include "opto/adlcVMDeps.hpp" #include "opto/compile.hpp" #include "opto/rangeinference.hpp" +#include "runtime/handles.hpp" // Portions of code courtesy of Clifford Click