18 * |
18 * |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
|
24 |
|
25 /* |
|
26 * This file has been modified by Loongson Technology in 2015. These |
|
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made |
|
28 * available on the same license terms set forth above. |
|
29 */ |
23 */ |
30 |
24 |
31 #ifndef SHARE_VM_RUNTIME_GLOBALS_HPP |
25 #ifndef SHARE_VM_RUNTIME_GLOBALS_HPP |
32 #define SHARE_VM_RUNTIME_GLOBALS_HPP |
26 #define SHARE_VM_RUNTIME_GLOBALS_HPP |
33 |
27 |
573 "Only used if UseLargePages is enabled.") \ |
567 "Only used if UseLargePages is enabled.") \ |
574 \ |
568 \ |
575 develop(bool, TracePageSizes, false, \ |
569 develop(bool, TracePageSizes, false, \ |
576 "Trace page size selection and usage") \ |
570 "Trace page size selection and usage") \ |
577 \ |
571 \ |
578 /* 2013/12/18 Jin: disable UseNUMA until OS is fixed*/ \ |
572 product(bool, UseNUMA, false, \ |
579 product(bool, UseNUMA, MIPS64_ONLY(false) NOT_MIPS64(false), \ |
|
580 "Use NUMA if available") \ |
573 "Use NUMA if available") \ |
581 \ |
|
582 product(bool, UseOldNUMA, MIPS64_ONLY(true) NOT_MIPS64(false), \ |
|
583 "Use Old NUMA if available") \ |
|
584 \ |
|
585 product(bool, UseNUMAThreadRoots, MIPS64_ONLY(true) NOT_MIPS64(false), \ |
|
586 "Use NUMAThreadRoots if available") \ |
|
587 \ |
|
588 product(bool, UseNUMASteal, MIPS64_ONLY(true) NOT_MIPS64(false), \ |
|
589 "Use NUMASteal if available") \ |
|
590 \ |
|
591 product(bool, UseNUMAGC, MIPS64_ONLY(true) NOT_MIPS64(false), \ |
|
592 "Use NUMAGC if available") \ |
|
593 \ |
|
594 product(bool, UseStasticScavenge, false, \ |
|
595 "Use StasticScavenge if available") \ |
|
596 \ |
|
597 product(bool, UseStasticCopy, false, \ |
|
598 "Use StasticCopy if available") \ |
|
599 \ |
574 \ |
600 product(bool, UseNUMAInterleaving, false, \ |
575 product(bool, UseNUMAInterleaving, false, \ |
601 "Interleave memory across NUMA nodes if available") \ |
576 "Interleave memory across NUMA nodes if available") \ |
602 \ |
577 \ |
603 product(uintx, NUMAInterleaveGranularity, 2*M, \ |
578 product(uintx, NUMAInterleaveGranularity, 2*M, \ |
2292 "Bind CMS Thread to CPU if possible") \ |
2267 "Bind CMS Thread to CPU if possible") \ |
2293 \ |
2268 \ |
2294 diagnostic(uintx, CPUForCMSThread, 0, \ |
2269 diagnostic(uintx, CPUForCMSThread, 0, \ |
2295 "When BindCMSThreadToCPU is true, the CPU to bind CMS thread to") \ |
2270 "When BindCMSThreadToCPU is true, the CPU to bind CMS thread to") \ |
2296 \ |
2271 \ |
2297 product(bool, BindGCTaskThreadsToCPUs, MIPS64_ONLY(true) NOT_MIPS64(false), \ |
2272 product(bool, BindGCTaskThreadsToCPUs, false, \ |
2298 "Bind GCTaskThreads to CPUs if possible") \ |
2273 "Bind GCTaskThreads to CPUs if possible") \ |
2299 \ |
2274 \ |
2300 product(bool, UseGCTaskAffinity, false, \ |
2275 product(bool, UseGCTaskAffinity, false, \ |
2301 "Use worker affinity when asking for GCTasks") \ |
2276 "Use worker affinity when asking for GCTasks") \ |
2302 \ |
2277 \ |
3138 \ |
3113 \ |
3139 product_pd(intx, PreInflateSpin, \ |
3114 product_pd(intx, PreInflateSpin, \ |
3140 "Number of times to spin wait before inflation") \ |
3115 "Number of times to spin wait before inflation") \ |
3141 \ |
3116 \ |
3142 /* gc parameters */ \ |
3117 /* gc parameters */ \ |
3143 product(uintx, InitialHeapSize, ScaleForWordSize(MIPS64_ONLY(2500) NOT_MIPS64(0) *M), \ |
3118 product(uintx, InitialHeapSize, 0, \ |
3144 "Initial heap size (in bytes); zero means use ergonomics") \ |
3119 "Initial heap size (in bytes); zero means use ergonomics") \ |
3145 \ |
3120 \ |
3146 product(uintx, MaxHeapSize, ScaleForWordSize(MIPS64_ONLY(2500) NOT_MIPS64(96) *M), \ |
3121 product(uintx, MaxHeapSize, ScaleForWordSize(96*M), \ |
3147 "Maximum heap size (in bytes)") \ |
3122 "Maximum heap size (in bytes)") \ |
3148 \ |
3123 \ |
3149 product(uintx, OldSize, ScaleForWordSize(4*M), \ |
3124 product(uintx, OldSize, ScaleForWordSize(4*M), \ |
3150 "Initial tenured generation size (in bytes)") \ |
3125 "Initial tenured generation size (in bytes)") \ |
3151 \ |
3126 \ |