--- old/src/hotspot/share/opto/classes.hpp 2020-02-06 19:18:11.323549636 +0100 +++ new/src/hotspot/share/opto/classes.hpp 2020-02-06 19:18:11.152549651 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -265,6 +265,19 @@ macro(RoundFloat) macro(SafePoint) macro(SafePointScalarObject) +#if INCLUDE_SHENANDOAHGC +#define shmacro(x) macro(x) +#else +#define shmacro(x) optionalmacro(x) +#endif +shmacro(ShenandoahCompareAndExchangeP) +shmacro(ShenandoahCompareAndExchangeN) +shmacro(ShenandoahCompareAndSwapN) +shmacro(ShenandoahCompareAndSwapP) +shmacro(ShenandoahWeakCompareAndSwapN) +shmacro(ShenandoahWeakCompareAndSwapP) +shmacro(ShenandoahEnqueueBarrier) +shmacro(ShenandoahLoadReferenceBarrier) macro(SCMemProj) macro(SqrtD) macro(SqrtF)