src/hotspot/share/runtime/globals_shared.hpp
author stefank
Wed, 22 May 2019 13:05:37 +0200
changeset 54982 b18c8301b8c2
permissions -rw-r--r--
8224201: Simplify JVM flag macro expansions Reviewed-by: rehn, kvn, stuefe, tschatzl, coleenp, gziemski
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
54982
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
     1
/*
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
     2
 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
     4
 *
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
     7
 * published by the Free Software Foundation.
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
     8
 *
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    13
 * accompanied this code).
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    14
 *
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    18
 *
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    21
 * questions.
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    22
 *
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    23
 */
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    24
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    25
#ifndef SHARE_RUNTIME_GLOBALS_SHARED_HPP
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    26
#define SHARE_RUNTIME_GLOBALS_SHARED_HPP
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    27
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    28
#include "utilities/align.hpp"
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    29
#include "utilities/globalDefinitions.hpp"
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    30
#include "utilities/macros.hpp"
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    31
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    32
#include <float.h> // for DBL_MAX
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    33
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    34
// The larger HeapWordSize for 64bit requires larger heaps
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    35
// for the same application running in 64bit.  See bug 4967770.
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    36
// The minimum alignment to a heap word size is done.  Other
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    37
// parts of the memory system may require additional alignment
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    38
// and are responsible for those alignments.
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    39
#ifdef _LP64
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    40
#define ScaleForWordSize(x) align_down_((x) * 13 / 10, HeapWordSize)
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    41
#else
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    42
#define ScaleForWordSize(x) (x)
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    43
#endif
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    44
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    45
// use this for flags that are true per default in the tiered build
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    46
// but false in non-tiered builds, and vice versa
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    47
#ifdef TIERED
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    48
#define  trueInTiered true
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    49
#define falseInTiered false
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    50
#else
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    51
#define  trueInTiered false
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    52
#define falseInTiered true
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    53
#endif
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    54
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    55
// use this for flags that are true by default in the debug version but
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    56
// false in the optimized version, and vice versa
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    57
#ifdef ASSERT
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    58
#define trueInDebug  true
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    59
#define falseInDebug false
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    60
#else
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    61
#define trueInDebug  false
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    62
#define falseInDebug true
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    63
#endif
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    64
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    65
// use this for flags that are true per default in the product build
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    66
// but false in development builds, and vice versa
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    67
#ifdef PRODUCT
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    68
#define trueInProduct  true
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    69
#define falseInProduct false
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    70
#else
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    71
#define trueInProduct  false
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    72
#define falseInProduct true
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    73
#endif
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    74
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    75
// Only materialize src code for range checking when required, ignore otherwise
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    76
#define IGNORE_RANGE(a, b)
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    77
// Only materialize src code for contraint checking when required, ignore otherwise
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    78
#define IGNORE_CONSTRAINT(func,type)
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    79
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    80
#define IGNORE_WRITEABLE(type)
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    81
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    82
#define VM_FLAGS(             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    83
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    84
    develop_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    85
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    86
    product_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    87
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    88
    diagnostic_pd,            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    89
    experimental,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    90
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    91
    manageable,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    92
    product_rw,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    93
    lp64_product,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    94
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    95
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    96
    writeable)                \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    97
                              \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    98
  RUNTIME_FLAGS(              \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
    99
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   100
    develop_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   101
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   102
    product_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   103
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   104
    diagnostic_pd,            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   105
    experimental,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   106
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   107
    manageable,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   108
    product_rw,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   109
    lp64_product,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   110
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   111
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   112
    writeable)                \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   113
                              \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   114
  GC_FLAGS(                   \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   115
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   116
    develop_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   117
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   118
    product_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   119
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   120
    diagnostic_pd,            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   121
    experimental,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   122
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   123
    manageable,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   124
    product_rw,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   125
    lp64_product,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   126
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   127
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   128
    writeable)                \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   129
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   130
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   131
#define ALL_FLAGS(            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   132
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   133
    develop_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   134
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   135
    product_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   136
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   137
    diagnostic_pd,            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   138
    experimental,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   139
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   140
    manageable,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   141
    product_rw,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   142
    lp64_product,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   143
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   144
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   145
    writeable)                \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   146
                              \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   147
  VM_FLAGS(                   \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   148
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   149
    develop_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   150
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   151
    product_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   152
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   153
    diagnostic_pd,            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   154
    experimental,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   155
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   156
    manageable,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   157
    product_rw,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   158
    lp64_product,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   159
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   160
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   161
    writeable)                \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   162
                              \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   163
  RUNTIME_OS_FLAGS(           \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   164
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   165
    develop_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   166
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   167
    product_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   168
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   169
    diagnostic_pd,            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   170
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   171
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   172
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   173
    writeable)                \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   174
                              \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   175
  JVMCI_ONLY(JVMCI_FLAGS(     \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   176
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   177
    develop_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   178
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   179
    product_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   180
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   181
    diagnostic_pd,            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   182
    experimental,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   183
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   184
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   185
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   186
    writeable))               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   187
                              \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   188
  COMPILER1_PRESENT(C1_FLAGS( \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   189
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   190
    develop_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   191
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   192
    product_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   193
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   194
    diagnostic_pd,            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   195
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   196
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   197
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   198
    writeable))               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   199
                              \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   200
  COMPILER2_PRESENT(C2_FLAGS( \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   201
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   202
    develop_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   203
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   204
    product_pd,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   205
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   206
    diagnostic_pd,            \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   207
    experimental,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   208
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   209
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   210
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   211
    writeable))               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   212
                              \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   213
  ARCH_FLAGS(                 \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   214
    develop,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   215
    product,                  \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   216
    diagnostic,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   217
    experimental,             \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   218
    notproduct,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   219
    range,                    \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   220
    constraint,               \
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   221
    writeable)
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   222
b18c8301b8c2 8224201: Simplify JVM flag macro expansions
stefank
parents:
diff changeset
   223
#endif // SHARE_RUNTIME_GLOBALS_SHARED_HPP