mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8202151: [BACKOUT] Split globals.hpp to factor out the Flag class
Backed out JDK-8081519 Reviewed-by: kvn
This commit is contained in:
parent
d1f838a285
commit
816e2e5fe0
66 changed files with 2966 additions and 3060 deletions
|
@ -29,7 +29,6 @@
|
|||
#include "jvmci/jvmciRuntime.hpp"
|
||||
#include "jvmci/jvmciCompilerToVM.hpp"
|
||||
#include "jvmci/vmStructs_jvmci.hpp"
|
||||
#include "runtime/flags/jvmFlag.hpp"
|
||||
#include "runtime/handles.inline.hpp"
|
||||
#include "runtime/sharedRuntime.hpp"
|
||||
#include "utilities/resourceHash.hpp"
|
||||
|
@ -379,9 +378,9 @@ jobjectArray readConfiguration0(JNIEnv *env, TRAPS) {
|
|||
#define COUNT_FLAG(ignore) +1
|
||||
#ifdef ASSERT
|
||||
#define CHECK_FLAG(type, name) { \
|
||||
JVMFlag* flag = JVMFlag::find_flag(#name, strlen(#name), /*allow_locked*/ true, /* return_flag */ true); \
|
||||
Flag* flag = Flag::find_flag(#name, strlen(#name), /*allow_locked*/ true, /* return_flag */ true); \
|
||||
assert(flag != NULL, "No such flag named " #name); \
|
||||
assert(flag->is_##type(), "JVMFlag " #name " is not of type " #type); \
|
||||
assert(flag->is_##type(), "Flag " #name " is not of type " #type); \
|
||||
}
|
||||
#else
|
||||
#define CHECK_FLAG(type, name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue