--- old/src/hotspot/share/runtime/atomic.hpp 2017-10-05 15:23:44.748769137 +0200 +++ new/src/hotspot/share/runtime/atomic.hpp 2017-10-05 15:23:44.520769145 +0200 @@ -44,7 +44,7 @@ }; class Atomic : AllStatic { - public: +public: // Atomic operations on jlong types are not available on all 32-bit // platforms. If atomic ops on jlongs are defined here they must only // be used from code that verifies they are available at runtime and @@ -175,6 +175,7 @@ // that is needed here. template struct IsPointerConvertible; +protected: // Dispatch handler for store. Provides type-based validity // checking and limited conversions around calls to the platform- // specific implementation layer provided by PlatformOp. @@ -226,6 +227,7 @@ // requires more for e.g. 64 bit loads, a specialization is required template struct PlatformLoad; +private: // Dispatch handler for add. Provides type-based validity checking // and limited conversions around calls to the platform-specific // implementation layer provided by PlatformAdd.