--- old/src/share/vm/utilities/macros.hpp 2019-02-15 19:02:50.142389282 +0300 +++ new/src/share/vm/utilities/macros.hpp 2019-02-15 19:02:50.046392632 +0300 @@ -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 @@ -160,9 +160,15 @@ #define NOT_NMT_RETURN_(code) { return code; } #endif // INCLUDE_NMT -#ifndef INCLUDE_TRACE -#define INCLUDE_TRACE 1 -#endif // INCLUDE_TRACE +#ifndef INCLUDE_JFR +#define INCLUDE_JFR 1 +#endif + +#if INCLUDE_JFR +#define JFR_ONLY(code) code +#else +#define JFR_ONLY(code) +#endif // COMPILER1 variant #ifdef COMPILER1