Mercurial > hg > release > icedtea-1.10
view ports/hotspot/src/cpu/zero/vm/globals_zero.hpp @ 1838:ea63ce8e8819
Fix Nimbus and Zero build issues and cleanup configure output.
2009-05-27 Andrew John Hughes <ahughes@redhat.com>
* Makefile.am:
Replace !ENABLE_OPTIMIZATIONS with DISABLE_OPTIMIZATIONS
for clarity, only apply the Nimbus generation patch when
ENABLE_NIMBUS is on but ENABLE_NIMBUS_GENERATION is off.
* acinclude.m4:
(DISABLE_OPTIMIZATIONS): Renamed from ENABLE_OPTIMIZATIONS
for clarity, and added result message on all paths.
(AC_CHECK_ENABLE_NIMBUS_GENERATION): Correct message to
represent current default of no.
(IT_CHECK_ADDITIONAL_VMS): Refactored to provide output on
all paths and moved from configure.ac.
* configure.ac:
Replace additional-vms code with call to IT_CHECK_ADDITIONAL_VMS
macro.
* ports/hotspot/src/cpu/zero/vm/globals_zero.hpp:
Remove InlineSmallCode and...
* ports/hotspot/src/cpu/zero/vm/shark_globals_zero.hpp:
...add it here, only needed for Shark builds.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Wed, 27 May 2009 17:57:45 +0100 |
parents | e160d9e94f4e |
children |
line wrap: on
line source
/* * Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2007, 2008, 2009 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, * CA 95054 USA or visit www.sun.com if you need additional information or * have any questions. * */ // // Set the default values for platform dependent flags used by the // runtime system. See globals.hpp for details of what they do. // define_pd_global(bool, ConvertSleepToYield, true); define_pd_global(bool, ShareVtableStubs, true); define_pd_global(bool, CountInterpCalls, true); define_pd_global(bool, NeedsDeoptSuspend, false); define_pd_global(bool, ImplicitNullChecks, true); define_pd_global(bool, UncommonNullCast, true); define_pd_global(intx, CodeEntryAlignment, 32); define_pd_global(uintx, TLABSize, 0); #ifdef _LP64 define_pd_global(uintx, NewSize, ScaleForWordSize(2048 * K)); #else define_pd_global(uintx, NewSize, ScaleForWordSize(1024 * K)); #endif // _LP64 define_pd_global(intx, InlineFrequencyCount, 100); define_pd_global(intx, PreInflateSpin, 10); define_pd_global(intx, StackYellowPages, 2); define_pd_global(intx, StackRedPages, 1); define_pd_global(intx, StackShadowPages, 3 LP64_ONLY(+3) DEBUG_ONLY(+3)); define_pd_global(bool, RewriteBytecodes, true); define_pd_global(bool, RewriteFrequentPairs, true);