--- a/hotspot/src/share/vm/runtime/init.cpp Wed Jun 17 21:44:48 2015 +0000
+++ b/hotspot/src/share/vm/runtime/init.cpp Thu Jun 18 14:39:38 2015 -0500
@@ -29,6 +29,7 @@
#include "interpreter/bytecodes.hpp"
#include "memory/universe.hpp"
#include "prims/methodHandles.hpp"
+#include "runtime/globals.hpp"
#include "runtime/handles.inline.hpp"
#include "runtime/icache.hpp"
#include "runtime/init.hpp"
@@ -141,8 +142,8 @@
// All the flags that get adjusted by VM_Version_init and os::init_2
// have been set so dump the flags now.
- if (PrintFlagsFinal) {
- CommandLineFlags::printFlags(tty, false);
+ if (PrintFlagsFinal || PrintFlagsRanges) {
+ CommandLineFlags::printFlags(tty, false, PrintFlagsRanges);
}
return JNI_OK;