src/share/vm/utilities/macros.hpp

changeset 9931
fd44df5e3bc3
parent 9806
758c07667682
parent 9896
1b8c45b8216a
equal deleted inserted replaced
9855:274a1ea904c8 9931:fd44df5e3bc3
1 /* 1 /*
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
164 #else 164 #else
165 #define NOT_NMT_RETURN {} 165 #define NOT_NMT_RETURN {}
166 #define NOT_NMT_RETURN_(code) { return code; } 166 #define NOT_NMT_RETURN_(code) { return code; }
167 #endif // INCLUDE_NMT 167 #endif // INCLUDE_NMT
168 168
169 #ifndef INCLUDE_TRACE 169 #ifndef INCLUDE_JFR
170 #define INCLUDE_TRACE 1 170 #define INCLUDE_JFR 1
171 #endif // INCLUDE_TRACE 171 #endif
172
173 #if INCLUDE_JFR
174 #define JFR_ONLY(code) code
175 #else
176 #define JFR_ONLY(code)
177 #endif
172 178
173 // COMPILER1 variant 179 // COMPILER1 variant
174 #ifdef COMPILER1 180 #ifdef COMPILER1
175 #ifdef COMPILER2 181 #ifdef COMPILER2
176 #define TIERED 182 #define TIERED

mercurial