diff -r 1c21c60f51bf -r 6a0c42c40cd1 src/hotspot/share/runtime/synchronizer.hpp --- a/src/hotspot/share/runtime/synchronizer.hpp Mon Oct 16 20:22:41 2017 +0000 +++ b/src/hotspot/share/runtime/synchronizer.hpp Mon Oct 16 22:36:06 2017 -0400 @@ -25,6 +25,7 @@ #ifndef SHARE_VM_RUNTIME_SYNCHRONIZER_HPP #define SHARE_VM_RUNTIME_SYNCHRONIZER_HPP +#include "memory/padded.hpp" #include "oops/markOop.hpp" #include "runtime/basicLock.hpp" #include "runtime/handles.hpp" @@ -159,9 +160,7 @@ private: enum { _BLOCKSIZE = 128 }; // global list of blocks of monitors - // gBlockList is really PaddedEnd *, but we don't - // want to expose the PaddedEnd template more than necessary. - static ObjectMonitor * volatile gBlockList; + static PaddedEnd * volatile gBlockList; // global monitor free list static ObjectMonitor * volatile gFreeList; // global monitor in-use list, for moribund threads,