src/os/aix/vm/globals_aix.hpp

Print this page




  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #ifndef OS_AIX_VM_GLOBALS_AIX_HPP
  27 #define OS_AIX_VM_GLOBALS_AIX_HPP
  28 
  29 //
  30 // Defines Aix specific flags. They are not available on other platforms.
  31 //
  32 // (Please keep the switches sorted alphabetically.)
  33 #define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct, range, constraint) \
  34                                                                                     \
  35   /* Whether to allow the VM to run if EXTSHM=ON. EXTSHM is an environment */       \
  36   /* variable used on AIX to activate certain hacks which allow more shm segments */\
  37   /* for 32bit processes. For 64bit processes, it is pointless and may have */      \
  38   /* harmful side effects (e.g. for some reasonn prevents allocation of 64k pages */\
  39   /* via shmctl). */                                                                \
  40   /* Per default we quit with an error if that variable is found; for certain */    \
  41   /* customer scenarios, we may want to be able to run despite that variable. */    \
  42   product(bool, AllowExtshm, false,                                                 \
  43           "Allow VM to run with EXTSHM=ON.")                                        \
  44                                                                                     \
  45   product(intx, AttachListenerTimeout, 1000,                                        \
  46           "Timeout in ms the attach listener waits for a request")                  \
  47           range(0, 2147483)                                                         \
  48                                                                                     \
  49   /*  Maximum expected size of the data segment. That correlates with the      */   \
  50   /*  to the maximum C Heap consumption we expect.                             */   \
  51   /*  We need to know this because we need to leave "breathing space" for the  */   \
  52   /*  data segment when placing the java heap. If that space is too small, we  */   \
  53   /*  reduce our chance of getting a low heap address (needed for compressed   */   \




  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #ifndef OS_AIX_VM_GLOBALS_AIX_HPP
  27 #define OS_AIX_VM_GLOBALS_AIX_HPP
  28 
  29 //
  30 // Defines Aix specific flags. They are not available on other platforms.
  31 //
  32 // (Please keep the switches sorted alphabetically.)
  33 #define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, diagnostic_pd, notproduct, range, constraint) \
  34                                                                                     \
  35   /* Whether to allow the VM to run if EXTSHM=ON. EXTSHM is an environment */       \
  36   /* variable used on AIX to activate certain hacks which allow more shm segments */\
  37   /* for 32bit processes. For 64bit processes, it is pointless and may have */      \
  38   /* harmful side effects (e.g. for some reasonn prevents allocation of 64k pages */\
  39   /* via shmctl). */                                                                \
  40   /* Per default we quit with an error if that variable is found; for certain */    \
  41   /* customer scenarios, we may want to be able to run despite that variable. */    \
  42   product(bool, AllowExtshm, false,                                                 \
  43           "Allow VM to run with EXTSHM=ON.")                                        \
  44                                                                                     \
  45   product(intx, AttachListenerTimeout, 1000,                                        \
  46           "Timeout in ms the attach listener waits for a request")                  \
  47           range(0, 2147483)                                                         \
  48                                                                                     \
  49   /*  Maximum expected size of the data segment. That correlates with the      */   \
  50   /*  to the maximum C Heap consumption we expect.                             */   \
  51   /*  We need to know this because we need to leave "breathing space" for the  */   \
  52   /*  data segment when placing the java heap. If that space is too small, we  */   \
  53   /*  reduce our chance of getting a low heap address (needed for compressed   */   \