8202150: [REDO] Split globals.hpp to factor out the Flag class

Factored out Flag out go globals, renamed to JVMFlag

Reviewed-by: coleenp, dholmes, kvn
This commit is contained in:
Gerard Ziemski 2018-04-26 11:19:05 -05:00
parent 4d841c90fb
commit edc81d17e1
66 changed files with 3060 additions and 2964 deletions

View file

@ -30,7 +30,7 @@
#include "interpreter/bytecodes.hpp"
#include "memory/universe.hpp"
#include "prims/methodHandles.hpp"
#include "runtime/globals.hpp"
#include "runtime/flags/jvmFlag.hpp"
#include "runtime/handles.inline.hpp"
#include "runtime/icache.hpp"
#include "runtime/init.hpp"
@ -155,7 +155,7 @@ jint init_globals() {
// All the flags that get adjusted by VM_Version_init and os::init_2
// have been set so dump the flags now.
if (PrintFlagsFinal || PrintFlagsRanges) {
CommandLineFlags::printFlags(tty, false, PrintFlagsRanges);
JVMFlag::printFlags(tty, false, PrintFlagsRanges);
}
return JNI_OK;