Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/arguments.hpp @ 2491:0654ee04b214
Merge with OpenJDK.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 22 Apr 2011 15:30:53 +0200 |
parents | 06f017f7daa7 a2c2eac1ca62 |
children | 75a99b4f1c98 |
comparison
equal
deleted
inserted
replaced
2490:29246b1d2d3c | 2491:0654ee04b214 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
258 static const char* _sun_java_launcher; | 258 static const char* _sun_java_launcher; |
259 | 259 |
260 // sun.java.launcher.pid, private property | 260 // sun.java.launcher.pid, private property |
261 static int _sun_java_launcher_pid; | 261 static int _sun_java_launcher_pid; |
262 | 262 |
263 // was this VM created by the gamma launcher | |
264 static bool _created_by_gamma_launcher; | |
265 | |
263 // Option flags | 266 // Option flags |
264 static bool _has_profile; | 267 static bool _has_profile; |
265 static bool _has_alloc_profile; | 268 static bool _has_alloc_profile; |
266 static const char* _gc_log_filename; | 269 static const char* _gc_log_filename; |
267 static uintx _min_heap_size; | 270 static uintx _min_heap_size; |
299 static bool _ClipInlining; | 302 static bool _ClipInlining; |
300 static bool _CIDynamicCompilePriority; | 303 static bool _CIDynamicCompilePriority; |
301 | 304 |
302 // Tiered | 305 // Tiered |
303 static void set_tiered_flags(); | 306 static void set_tiered_flags(); |
304 // Check compressed oops compatibility with other flags | |
305 static void check_compressed_oops_compat(); | |
306 // CMS/ParNew garbage collectors | 307 // CMS/ParNew garbage collectors |
307 static void set_parnew_gc_flags(); | 308 static void set_parnew_gc_flags(); |
308 static void set_cms_and_parnew_gc_flags(); | 309 static void set_cms_and_parnew_gc_flags(); |
309 // UseParallel[Old]GC | 310 // UseParallel[Old]GC |
310 static void set_parallel_gc_flags(); | 311 static void set_parallel_gc_flags(); |
311 // Garbage-First (UseG1GC) | 312 // Garbage-First (UseG1GC) |
312 static void set_g1_gc_flags(); | 313 static void set_g1_gc_flags(); |
313 // GC ergonomics | 314 // GC ergonomics |
314 static void set_ergonomics_flags(); | 315 static void set_ergonomics_flags(); |
316 static void set_shared_spaces_flags(); | |
315 // Setup heap size | 317 // Setup heap size |
316 static void set_heap_size(); | 318 static void set_heap_size(); |
317 // Based on automatic selection criteria, should the | 319 // Based on automatic selection criteria, should the |
318 // low pause collector be used. | 320 // low pause collector be used. |
319 static bool should_auto_select_low_pause_collector(); | 321 static bool should_auto_select_low_pause_collector(); |
448 | 450 |
449 // -Dsun.java.launcher | 451 // -Dsun.java.launcher |
450 static const char* sun_java_launcher() { return _sun_java_launcher; } | 452 static const char* sun_java_launcher() { return _sun_java_launcher; } |
451 // Was VM created by a Java launcher? | 453 // Was VM created by a Java launcher? |
452 static bool created_by_java_launcher(); | 454 static bool created_by_java_launcher(); |
455 // Was VM created by the gamma Java launcher? | |
456 static bool created_by_gamma_launcher(); | |
453 // -Dsun.java.launcher.pid | 457 // -Dsun.java.launcher.pid |
454 static int sun_java_launcher_pid() { return _sun_java_launcher_pid; } | 458 static int sun_java_launcher_pid() { return _sun_java_launcher_pid; } |
455 | 459 |
456 // -Xloggc:<file>, if not specified will be NULL | 460 // -Xloggc:<file>, if not specified will be NULL |
457 static const char* gc_log_filename() { return _gc_log_filename; } | 461 static const char* gc_log_filename() { return _gc_log_filename; } |