Mercurial > hg > graal-jvmci-8
comparison src/os/linux/vm/globals_linux.hpp @ 12110:4c84d351cca9
8007074: SIGSEGV at ParMarkBitMap::verify_clear()
Summary: Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.
Reviewed-by: tschatzl, dcubed, brutisso
author | stefank |
---|---|
date | Fri, 16 Aug 2013 13:22:32 +0200 |
parents | 9058789475af |
children | 263f2c796d6c |
comparison
equal
deleted
inserted
replaced
12108:badf4244ceae | 12110:4c84d351cca9 |
---|---|
38 overridden in Arguments::parse_each_vm_init_arg. */ \ | 38 overridden in Arguments::parse_each_vm_init_arg. */ \ |
39 \ | 39 \ |
40 product(bool, UseHugeTLBFS, false, \ | 40 product(bool, UseHugeTLBFS, false, \ |
41 "Use MAP_HUGETLB for large pages") \ | 41 "Use MAP_HUGETLB for large pages") \ |
42 \ | 42 \ |
43 product(bool, UseTransparentHugePages, false, \ | |
44 "Use MADV_HUGEPAGE for large pages") \ | |
45 \ | |
43 product(bool, LoadExecStackDllInVMThread, true, \ | 46 product(bool, LoadExecStackDllInVMThread, true, \ |
44 "Load DLLs with executable-stack attribute in the VM Thread") \ | 47 "Load DLLs with executable-stack attribute in the VM Thread") \ |
45 \ | 48 \ |
46 product(bool, UseSHM, false, \ | 49 product(bool, UseSHM, false, \ |
47 "Use SYSV shared memory for large pages") | 50 "Use SYSV shared memory for large pages") |