runtimeService.cpp revision 4430
3258N/A * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. 2362N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 0N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 3258N/A // Make sure the VM version is initialized 795N/A // create performance counters for jvm_version and its capabilities 795N/A // I/O interruption related counters 3258N/A // thread signaling via os::interrupt() 0N/A // OS_INTRPT via "check before" in _INTERRUPTIBLE 0N/A // OS_INTRPT via "check during" in _INTERRUPTIBLE 0N/A // The capabilities counter is a binary representation of the VM capabilities in string. 1365N/A // This string respresentation simplifies the implementation of the client side 0N/A // Print the time interval in which the app was executing 3258N/A // update the time stamp to begin recording safepoint time 3258N/A // Print the time interval for which the app was stopped 3258N/A // during the current safepoint operation. 0N/A "were stopped: %3.7f seconds",
0N/A // update the time stamp to begin recording app time // update the time stamp to begin recording app time // Don't need to record application end because we currently // exit at a safepoint and record_safepoint_begin() handles updating // the application time counter at VM exit.