1 /* |
1 /* |
2 * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2012, 2015 SAP SE. All rights reserved. |
3 * Copyright (c) 2012, 2015 SAP SE. All rights reserved. |
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 |
31 |
31 |
32 define_pd_global(bool, DontYieldALot, false); |
32 define_pd_global(bool, DontYieldALot, false); |
33 define_pd_global(intx, ThreadStackSize, 2048); // 0 => use system default |
33 define_pd_global(intx, ThreadStackSize, 2048); // 0 => use system default |
34 define_pd_global(intx, VMThreadStackSize, 2048); |
34 define_pd_global(intx, VMThreadStackSize, 2048); |
35 |
35 |
36 // if we set CompilerThreadStackSize to a value different than 0, it will |
|
37 // be used in os::create_thread(). Otherwise, due the strange logic in os::create_thread(), |
|
38 // the stack size for compiler threads will default to VMThreadStackSize, although it |
|
39 // is defined to 4M in os::Linux::default_stack_size()! |
|
40 define_pd_global(intx, CompilerThreadStackSize, 4096); |
36 define_pd_global(intx, CompilerThreadStackSize, 4096); |
41 |
37 |
42 // Allow extra space in DEBUG builds for asserts. |
38 // Allow extra space in DEBUG builds for asserts. |
43 define_pd_global(size_t, JVMInvokeMethodSlack, 8192); |
39 define_pd_global(size_t, JVMInvokeMethodSlack, 8192); |
44 |
40 |