src/os_cpu/aix_ppc/vm/globals_aix_ppc.hpp

changeset 0
f90c822e73f8
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/os_cpu/aix_ppc/vm/globals_aix_ppc.hpp	Wed Apr 27 01:25:04 2016 +0800
     1.3 @@ -0,0 +1,54 @@
     1.4 +/*
     1.5 + * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright 2012, 2013 SAP AG. All rights reserved.
     1.7 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8 + *
     1.9 + * This code is free software; you can redistribute it and/or modify it
    1.10 + * under the terms of the GNU General Public License version 2 only, as
    1.11 + * published by the Free Software Foundation.
    1.12 + *
    1.13 + * This code is distributed in the hope that it will be useful, but WITHOUT
    1.14 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.15 + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.16 + * version 2 for more details (a copy is included in the LICENSE file that
    1.17 + * accompanied this code).
    1.18 + *
    1.19 + * You should have received a copy of the GNU General Public License version
    1.20 + * 2 along with this work; if not, write to the Free Software Foundation,
    1.21 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.22 + *
    1.23 + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.24 + * or visit www.oracle.com if you need additional information or have any
    1.25 + * questions.
    1.26 + *
    1.27 + */
    1.28 +
    1.29 +#ifndef OS_CPU_AIX_OJDKPPC_VM_GLOBALS_AIX_PPC_HPP
    1.30 +#define OS_CPU_AIX_OJDKPPC_VM_GLOBALS_AIX_PPC_HPP
    1.31 +
    1.32 +// Sets the default values for platform dependent flags used by the runtime system.
    1.33 +// (see globals.hpp)
    1.34 +
    1.35 +define_pd_global(bool, DontYieldALot,            false);
    1.36 +define_pd_global(intx, ThreadStackSize,          2048); // 0 => use system default
    1.37 +define_pd_global(intx, VMThreadStackSize,        2048);
    1.38 +
    1.39 +// if we set CompilerThreadStackSize to a value different than 0, it will
    1.40 +// be used in os::create_thread(). Otherwise, due the strange logic in os::create_thread(),
    1.41 +// the stack size for compiler threads will default to VMThreadStackSize, although it
    1.42 +// is defined to 4M in os::Aix::default_stack_size()!
    1.43 +define_pd_global(intx, CompilerThreadStackSize,  4096);
    1.44 +
    1.45 +// Allow extra space in DEBUG builds for asserts.
    1.46 +define_pd_global(uintx,JVMInvokeMethodSlack,     8192);
    1.47 +
    1.48 +define_pd_global(intx, StackYellowPages,         6);
    1.49 +define_pd_global(intx, StackRedPages,            1);
    1.50 +define_pd_global(intx, StackShadowPages,         6 DEBUG_ONLY(+2));
    1.51 +
    1.52 +// Only used on 64 bit platforms
    1.53 +define_pd_global(uintx,HeapBaseMinAddress,       2*G);
    1.54 +// Only used on 64 bit Windows platforms
    1.55 +define_pd_global(bool, UseVectoredExceptions,    false);
    1.56 +
    1.57 +#endif // OS_CPU_AIX_OJDKPPC_VM_GLOBALS_AIX_PPC_HPP

mercurial