equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
95 |
95 |
96 define_pd_global(bool, PreserveFramePointer, false); |
96 define_pd_global(bool, PreserveFramePointer, false); |
97 |
97 |
98 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong); |
98 define_pd_global(intx, InitArrayShortSize, 8*BytesPerLong); |
99 |
99 |
100 #ifdef _LP64 |
100 #if defined(_LP64) || defined(_WINDOWS) |
101 define_pd_global(bool, ThreadLocalHandshakes, true); |
101 define_pd_global(bool, ThreadLocalHandshakes, true); |
102 #else |
102 #else |
|
103 // get_thread() is slow on linux 32 bit, therefore off by default |
103 define_pd_global(bool, ThreadLocalHandshakes, false); |
104 define_pd_global(bool, ThreadLocalHandshakes, false); |
104 #endif |
105 #endif |
105 |
106 |
106 #define ARCH_FLAGS(develop, \ |
107 #define ARCH_FLAGS(develop, \ |
107 product, \ |
108 product, \ |