equal
deleted
inserted
replaced
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. |
255 static const char* _sun_java_launcher; |
255 static const char* _sun_java_launcher; |
256 |
256 |
257 // sun.java.launcher.pid, private property |
257 // sun.java.launcher.pid, private property |
258 static int _sun_java_launcher_pid; |
258 static int _sun_java_launcher_pid; |
259 |
259 |
|
260 // was this VM created by the gamma launcher |
|
261 static bool _created_by_gamma_launcher; |
|
262 |
260 // Option flags |
263 // Option flags |
261 static bool _has_profile; |
264 static bool _has_profile; |
262 static bool _has_alloc_profile; |
265 static bool _has_alloc_profile; |
263 static const char* _gc_log_filename; |
266 static const char* _gc_log_filename; |
264 static uintx _min_heap_size; |
267 static uintx _min_heap_size; |
442 |
445 |
443 // -Dsun.java.launcher |
446 // -Dsun.java.launcher |
444 static const char* sun_java_launcher() { return _sun_java_launcher; } |
447 static const char* sun_java_launcher() { return _sun_java_launcher; } |
445 // Was VM created by a Java launcher? |
448 // Was VM created by a Java launcher? |
446 static bool created_by_java_launcher(); |
449 static bool created_by_java_launcher(); |
|
450 // Was VM created by the gamma Java launcher? |
|
451 static bool created_by_gamma_launcher(); |
447 // -Dsun.java.launcher.pid |
452 // -Dsun.java.launcher.pid |
448 static int sun_java_launcher_pid() { return _sun_java_launcher_pid; } |
453 static int sun_java_launcher_pid() { return _sun_java_launcher_pid; } |
449 |
454 |
450 // -Xloggc:<file>, if not specified will be NULL |
455 // -Xloggc:<file>, if not specified will be NULL |
451 static const char* gc_log_filename() { return _gc_log_filename; } |
456 static const char* gc_log_filename() { return _gc_log_filename; } |