globals_linux_zero.hpp revision 1472
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd/*
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd * Copyright 2007, 2008, 2010 Red Hat, Inc.
5f5d1b4cc970b7f06ff8ef6526128e9a27303d88nd * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd *
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * This code is free software; you can redistribute it and/or modify it
6fbd2e53c97ea6976d93e0ac521adabc55e0fb73nd * under the terms of the GNU General Public License version 2 only, as
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * published by the Free Software Foundation.
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd *
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * This code is distributed in the hope that it will be useful, but WITHOUT
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * version 2 for more details (a copy is included in the LICENSE file that
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * accompanied this code).
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd *
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * You should have received a copy of the GNU General Public License version
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * 2 along with this work; if not, write to the Free Software Foundation,
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd *
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
816bc7965d58c92c0d02fd42d6ea58090f70c6bdnd * or visit www.oracle.com if you need additional information or have any
7db9f691a00ead175b03335457ca296a33ddf31bnd * questions.
c82fca6d3f5608b946f18d37e8710b1d71e3478dnd *
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd */
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd//
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd// Set the default values for platform dependent flags used by the
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd// runtime system. See globals.hpp for details of what they do.
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd//
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nddefine_pd_global(bool, DontYieldALot, false);
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nddefine_pd_global(intx, ThreadStackSize, 1536);
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#ifdef _LP64
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nddefine_pd_global(intx, VMThreadStackSize, 1024);
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#else
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nddefine_pd_global(intx, VMThreadStackSize, 512);
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd#endif // _LP64
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nddefine_pd_global(intx, SurvivorRatio, 8);
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nddefine_pd_global(intx, CompilerThreadStackSize, 0);
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nddefine_pd_global(uintx, JVMInvokeMethodSlack, 8192);
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nddefine_pd_global(bool, UseVectoredExceptions, false);
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd// Only used on 64 bit platforms
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nddefine_pd_global(uintx, HeapBaseMinAddress, 2*G);
1eba1be63201689b2d3e651d3a35f0bc2057e2c0nd