--- old/src/hotspot/share/compiler/compilerDirectives.hpp 2018-06-06 00:41:03.292525262 +0200 +++ new/src/hotspot/share/compiler/compilerDirectives.hpp 2018-06-06 00:41:03.039514367 +0200 @@ -66,7 +66,8 @@ cflags(VectorizeDebug, uintx, 0, VectorizeDebug) \ cflags(CloneMapDebug, bool, false, CloneMapDebug) \ cflags(IGVPrintLevel, intx, PrintIdealGraphLevel, IGVPrintLevel) \ - cflags(MaxNodeLimit, intx, MaxNodeLimit, MaxNodeLimit) + cflags(MaxNodeLimit, intx, MaxNodeLimit, MaxNodeLimit) \ +ZGC_ONLY(cflags(ZOptimizeLoadBarriers, bool, ZOptimizeLoadBarriers, ZOptimizeLoadBarriers)) #else #define compilerdirectives_c2_flags(cflags) #endif