src/hotspot/cpu/x86/globals_x86.hpp
changeset 49027 8dc742d9bbab
parent 47881 0ce0ac68ace7
child 50534 a6a44177f99c
equal deleted inserted replaced
49026:844bf1deff1a 49027:8dc742d9bbab
     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, \