hotspot/src/os/bsd/vm/globals_bsd.hpp
author serb
Wed, 13 May 2015 19:19:03 +0300
changeset 30931 dad3f622d47a
parent 10565 dc90c239f4ec
child 31371 311143309e73
permissions -rw-r--r--
5109918: Wrong documentation for JSpinner.DateEditor constructor Reviewed-by: alexsch, azvegint
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     1
/*
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     2
 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     4
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     7
 * published by the Free Software Foundation.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     8
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    13
 * accompanied this code).
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    14
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    18
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    21
 * questions.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    22
 *
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    23
 */
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    24
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    25
#ifndef OS_BSD_VM_GLOBALS_BSD_HPP
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    26
#define OS_BSD_VM_GLOBALS_BSD_HPP
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    27
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    28
//
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    29
// Defines Bsd specific flags. They are not available on other platforms.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    30
//
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    31
#define RUNTIME_OS_FLAGS(develop, develop_pd, product, product_pd, diagnostic, notproduct) \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    32
  product(bool, UseOprofile, false,                                     \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    33
        "enable support for Oprofile profiler")                         \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    34
                                                                        \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    35
  product(bool, UseBsdPosixThreadCPUClocks, true,                     \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    36
          "enable fast Bsd Posix clocks where available")             \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    37
/*  NB: The default value of UseBsdPosixThreadCPUClocks may be        \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    38
    overridden in Arguments::parse_each_vm_init_arg.  */                \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    39
                                                                        \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    40
  product(bool, UseHugeTLBFS, false,                                    \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    41
          "Use MAP_HUGETLB for large pages")                            \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    42
                                                                        \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    43
  product(bool, UseSHM, false,                                          \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    44
          "Use SYSV shared memory for large pages")
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    45
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    46
//
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    47
// Defines Bsd-specific default values. The flags are available on all
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    48
// platforms, but they may have different default values on other platforms.
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    49
//
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    50
define_pd_global(bool, UseLargePages, false);
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    51
define_pd_global(bool, UseLargePagesIndividualAllocation, false);
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    52
define_pd_global(bool, UseOSErrorReporting, false);
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    53
define_pd_global(bool, UseThreadPriorities, true) ;
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    54
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents:
diff changeset
    55
#endif // OS_BSD_VM_GLOBALS_BSD_HPP