1 /* |
1 /* |
2 * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 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. |
47 "Load DLLs with executable-stack attribute in the VM Thread") \ |
47 "Load DLLs with executable-stack attribute in the VM Thread") \ |
48 \ |
48 \ |
49 product(bool, UseSHM, false, \ |
49 product(bool, UseSHM, false, \ |
50 "Use SYSV shared memory for large pages") \ |
50 "Use SYSV shared memory for large pages") \ |
51 \ |
51 \ |
52 diagnostic(bool, PrintActiveCpus, false, \ |
52 product(bool, UseContainerSupport, true, \ |
53 "Print the number of CPUs detected in os::active_processor_count") |
53 "Enable detection and runtime container configuration support") \ |
|
54 \ |
|
55 product(bool, PreferContainerQuotaForCPUCount, true, \ |
|
56 "Calculate the container CPU availability based on the value" \ |
|
57 " of quotas (if set), when true. Otherwise, use the CPU" \ |
|
58 " shares value, provided it is less than quota.") |
54 |
59 |
55 // |
60 // |
56 // Defines Linux-specific default values. The flags are available on all |
61 // Defines Linux-specific default values. The flags are available on all |
57 // platforms, but they may have different default values on other platforms. |
62 // platforms, but they may have different default values on other platforms. |
58 // |
63 // |