46 #include "runtime/commandLineFlagConstraintList.hpp"
47 #include "runtime/commandLineFlagWriteableList.hpp"
48 #include "runtime/commandLineFlagRangeList.hpp"
49 #include "runtime/globals.hpp"
50 #include "runtime/globals_extension.hpp"
51 #include "runtime/java.hpp"
52 #include "runtime/os.hpp"
53 #include "runtime/safepointMechanism.hpp"
54 #include "runtime/vm_version.hpp"
55 #include "services/management.hpp"
56 #include "services/memTracker.hpp"
57 #include "utilities/align.hpp"
58 #include "utilities/defaultStream.hpp"
59 #include "utilities/macros.hpp"
60 #include "utilities/stringUtils.hpp"
61 #if INCLUDE_JVMCI
62 #include "jvmci/jvmciRuntime.hpp"
63 #endif
64
65 // Note: This is a special bug reporting site for the JVM
66 #define DEFAULT_VENDOR_URL_BUG "http://bugreport.java.com/bugreport/crash.jsp"
67 #define DEFAULT_JAVA_LAUNCHER "generic"
68
69 char* Arguments::_jvm_flags_file = NULL;
70 char** Arguments::_jvm_flags_array = NULL;
71 int Arguments::_num_jvm_flags = 0;
72 char** Arguments::_jvm_args_array = NULL;
73 int Arguments::_num_jvm_args = 0;
74 char* Arguments::_java_command = NULL;
75 SystemProperty* Arguments::_system_properties = NULL;
76 const char* Arguments::_gc_log_filename = NULL;
77 size_t Arguments::_conservative_max_heap_alignment = 0;
78 size_t Arguments::_min_heap_size = 0;
79 Arguments::Mode Arguments::_mode = _mixed;
80 bool Arguments::_java_compiler = false;
81 bool Arguments::_xdebug_mode = false;
82 const char* Arguments::_java_vendor_url_bug = DEFAULT_VENDOR_URL_BUG;
83 const char* Arguments::_sun_java_launcher = DEFAULT_JAVA_LAUNCHER;
84 int Arguments::_sun_java_launcher_pid = -1;
85 bool Arguments::_sun_java_launcher_is_altjvm = false;
86
|
46 #include "runtime/commandLineFlagConstraintList.hpp"
47 #include "runtime/commandLineFlagWriteableList.hpp"
48 #include "runtime/commandLineFlagRangeList.hpp"
49 #include "runtime/globals.hpp"
50 #include "runtime/globals_extension.hpp"
51 #include "runtime/java.hpp"
52 #include "runtime/os.hpp"
53 #include "runtime/safepointMechanism.hpp"
54 #include "runtime/vm_version.hpp"
55 #include "services/management.hpp"
56 #include "services/memTracker.hpp"
57 #include "utilities/align.hpp"
58 #include "utilities/defaultStream.hpp"
59 #include "utilities/macros.hpp"
60 #include "utilities/stringUtils.hpp"
61 #if INCLUDE_JVMCI
62 #include "jvmci/jvmciRuntime.hpp"
63 #endif
64
65 // Note: This is a special bug reporting site for the JVM
66 #ifdef VENDOR_URL_VM_BUG
67 # define DEFAULT_VENDOR_URL_BUG VENDOR_URL_VM_BUG
68 #else
69 # define DEFAULT_VENDOR_URL_BUG "http://bugreport.java.com/bugreport/crash.jsp"
70 #endif
71 #define DEFAULT_JAVA_LAUNCHER "generic"
72
73 char* Arguments::_jvm_flags_file = NULL;
74 char** Arguments::_jvm_flags_array = NULL;
75 int Arguments::_num_jvm_flags = 0;
76 char** Arguments::_jvm_args_array = NULL;
77 int Arguments::_num_jvm_args = 0;
78 char* Arguments::_java_command = NULL;
79 SystemProperty* Arguments::_system_properties = NULL;
80 const char* Arguments::_gc_log_filename = NULL;
81 size_t Arguments::_conservative_max_heap_alignment = 0;
82 size_t Arguments::_min_heap_size = 0;
83 Arguments::Mode Arguments::_mode = _mixed;
84 bool Arguments::_java_compiler = false;
85 bool Arguments::_xdebug_mode = false;
86 const char* Arguments::_java_vendor_url_bug = DEFAULT_VENDOR_URL_BUG;
87 const char* Arguments::_sun_java_launcher = DEFAULT_JAVA_LAUNCHER;
88 int Arguments::_sun_java_launcher_pid = -1;
89 bool Arguments::_sun_java_launcher_is_altjvm = false;
90
|