11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/classLoader.hpp"
27 #include "classfile/javaAssertions.hpp"
28 #include "classfile/stringTable.hpp"
29 #include "classfile/symbolTable.hpp"
30 #include "compiler/compilerOracle.hpp"
31 #include "memory/allocation.inline.hpp"
32 #include "memory/cardTableRS.hpp"
33 #include "memory/genCollectedHeap.hpp"
34 #include "memory/referenceProcessor.hpp"
35 #include "memory/universe.inline.hpp"
36 #include "oops/oop.inline.hpp"
37 #include "prims/jvmtiExport.hpp"
38 #include "runtime/arguments.hpp"
39 #include "runtime/arguments_ext.hpp"
40 #include "runtime/globals_extension.hpp"
41 #include "runtime/java.hpp"
42 #include "runtime/os.hpp"
43 #include "runtime/vm_version.hpp"
44 #include "services/management.hpp"
45 #include "services/memTracker.hpp"
46 #include "utilities/defaultStream.hpp"
47 #include "utilities/macros.hpp"
48 #include "utilities/stringUtils.hpp"
49 #include "utilities/taskqueue.hpp"
50 #if INCLUDE_ALL_GCS
51 #include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
52 #include "gc_implementation/g1/g1CollectedHeap.inline.hpp"
53 #include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
54 #endif // INCLUDE_ALL_GCS
55
56 // Note: This is a special bug reporting site for the JVM
57 #define DEFAULT_VENDOR_URL_BUG "http://bugreport.java.com/bugreport/crash.jsp"
58 #define DEFAULT_JAVA_LAUNCHER "generic"
59
60 #define UNSUPPORTED_GC_OPTION(gc) \
61 do { \
62 if (gc) { \
63 if (FLAG_IS_CMDLINE(gc)) { \
64 warning(#gc " is not supported in this VM. Using Serial GC."); \
65 } \
66 FLAG_SET_DEFAULT(gc, false); \
67 } \
68 } while(0)
69
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;
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "classfile/classLoader.hpp"
27 #include "classfile/javaAssertions.hpp"
28 #include "classfile/stringTable.hpp"
29 #include "classfile/symbolTable.hpp"
30 #include "compiler/compilerOracle.hpp"
31 #include "gc/shared/cardTableRS.hpp"
32 #include "gc/shared/genCollectedHeap.hpp"
33 #include "gc/shared/referenceProcessor.hpp"
34 #include "gc/shared/taskqueue.hpp"
35 #include "memory/allocation.inline.hpp"
36 #include "memory/universe.inline.hpp"
37 #include "oops/oop.inline.hpp"
38 #include "prims/jvmtiExport.hpp"
39 #include "runtime/arguments.hpp"
40 #include "runtime/arguments_ext.hpp"
41 #include "runtime/globals_extension.hpp"
42 #include "runtime/java.hpp"
43 #include "runtime/os.hpp"
44 #include "runtime/vm_version.hpp"
45 #include "services/management.hpp"
46 #include "services/memTracker.hpp"
47 #include "utilities/defaultStream.hpp"
48 #include "utilities/macros.hpp"
49 #include "utilities/stringUtils.hpp"
50 #if INCLUDE_ALL_GCS
51 #include "gc/cms/compactibleFreeListSpace.hpp"
52 #include "gc/g1/g1CollectedHeap.inline.hpp"
53 #include "gc/parallel/parallelScavengeHeap.hpp"
54 #endif // INCLUDE_ALL_GCS
55
56 // Note: This is a special bug reporting site for the JVM
57 #define DEFAULT_VENDOR_URL_BUG "http://bugreport.java.com/bugreport/crash.jsp"
58 #define DEFAULT_JAVA_LAUNCHER "generic"
59
60 #define UNSUPPORTED_GC_OPTION(gc) \
61 do { \
62 if (gc) { \
63 if (FLAG_IS_CMDLINE(gc)) { \
64 warning(#gc " is not supported in this VM. Using Serial GC."); \
65 } \
66 FLAG_SET_DEFAULT(gc, false); \
67 } \
68 } while(0)
69
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;
|