1 /* |
1 /* |
2 * Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved. |
3 * Copyright 2007, 2008 Red Hat, Inc. |
3 * Copyright 2007, 2008, 2010 Red Hat, Inc. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
8 * published by the Free Software Foundation. |
8 * published by the Free Software Foundation. |
27 // Set the default values for platform dependent flags used by the |
27 // Set the default values for platform dependent flags used by the |
28 // runtime system. See globals.hpp for details of what they do. |
28 // runtime system. See globals.hpp for details of what they do. |
29 // |
29 // |
30 |
30 |
31 define_pd_global(bool, DontYieldALot, false); |
31 define_pd_global(bool, DontYieldALot, false); |
|
32 define_pd_global(intx, ThreadStackSize, 1536); |
32 #ifdef _LP64 |
33 #ifdef _LP64 |
33 define_pd_global(intx, ThreadStackSize, 1536); |
|
34 define_pd_global(intx, VMThreadStackSize, 1024); |
34 define_pd_global(intx, VMThreadStackSize, 1024); |
35 #else |
35 #else |
36 define_pd_global(intx, ThreadStackSize, 1024); |
|
37 define_pd_global(intx, VMThreadStackSize, 512); |
36 define_pd_global(intx, VMThreadStackSize, 512); |
38 #endif // _LP64 |
37 #endif // _LP64 |
39 define_pd_global(intx, SurvivorRatio, 8); |
38 define_pd_global(intx, SurvivorRatio, 8); |
40 define_pd_global(intx, CompilerThreadStackSize, 0); |
39 define_pd_global(intx, CompilerThreadStackSize, 0); |
41 define_pd_global(uintx, JVMInvokeMethodSlack, 8192); |
40 define_pd_global(uintx, JVMInvokeMethodSlack, 8192); |