vm_version.cpp revision 10
0N/A * Copyright 1998-2007 Sun Microsystems, Inc. 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 0N/A * published by the Free Software Foundation. 0N/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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 0N/A * CA 95054 USA or visit www.sun.com if you need additional information or 0N/A * have any questions. 0N/A#
include "incls/_precompiled.incl" 0N/A// HOTSPOT_RELEASE_VERSION must follow the release version naming convention 0N/A// <major_ver>.<minor_ver>-b<nn>[-<identifier>][-<debug_target>] 0N/A // Expecting the next vm_version format: 0N/A // <major_ver>.<minor_ver>-b<nn>[-<identifier>] 0N/A return "Sun Microsystems Inc.";
0N/A// NOTE: do *not* use stringStream. this function is called by 0N/A// fatal error handler. if the crash is in native thread, 0N/A// stringStream cannot get resource allocated and will SEGV. 10N/A // For very large machines, there are diminishing returns 10N/A // for large numbers of worker threads. Instead of 10N/A // hogging the whole system, use a fraction of the workers for every 10N/A // processor after the first 8. For example, on a 72 cpu machine 10N/A // and a chosen fraction of 5/8 10N/A // use 8 + (72 - 8) * (5/8) == 48 worker threads. 10N/A// Does not set the _initialized flag since it is