Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/arguments.cpp @ 6917:e81fbc04a942
7191817: -XX:+UseSerialGC -XX:+UseLargePages crashes with SIGFPE on MacOS X
Summary: Disable -XX:+UseLargePages for MacOS X
Reviewed-by: dholmes, coleenp, sla
Contributed-by: harold.seigel@oracle.com
author | coleenp |
---|---|
date | Thu, 25 Oct 2012 16:33:40 -0400 |
parents | 5ec0c42da025 |
children | 8cb93eadfb6d |
comparison
equal
deleted
inserted
replaced
6916:5ec0c42da025 | 6917:e81fbc04a942 |
---|---|
2567 FLAG_SET_CMDLINE(uintx, NewSize, | 2567 FLAG_SET_CMDLINE(uintx, NewSize, |
2568 ((julong)MaxHeapSize / (julong)8) * (julong)3); | 2568 ((julong)MaxHeapSize / (julong)8) * (julong)3); |
2569 FLAG_SET_CMDLINE(uintx, MaxNewSize, NewSize); | 2569 FLAG_SET_CMDLINE(uintx, MaxNewSize, NewSize); |
2570 } | 2570 } |
2571 | 2571 |
2572 #ifndef _ALLBSD_SOURCE // UseLargePages is not yet supported on BSD. | |
2572 FLAG_SET_DEFAULT(UseLargePages, true); | 2573 FLAG_SET_DEFAULT(UseLargePages, true); |
2574 #endif | |
2573 | 2575 |
2574 // Increase some data structure sizes for efficiency | 2576 // Increase some data structure sizes for efficiency |
2575 FLAG_SET_CMDLINE(uintx, BaseFootPrintEstimate, MaxHeapSize); | 2577 FLAG_SET_CMDLINE(uintx, BaseFootPrintEstimate, MaxHeapSize); |
2576 FLAG_SET_CMDLINE(bool, ResizeTLAB, false); | 2578 FLAG_SET_CMDLINE(bool, ResizeTLAB, false); |
2577 FLAG_SET_CMDLINE(uintx, TLABSize, 256*K); | 2579 FLAG_SET_CMDLINE(uintx, TLABSize, 256*K); |
3132 | 3134 |
3133 #if (defined JAVASE_EMBEDDED || defined ARM) | 3135 #if (defined JAVASE_EMBEDDED || defined ARM) |
3134 UNSUPPORTED_OPTION(UseG1GC, "G1 GC"); | 3136 UNSUPPORTED_OPTION(UseG1GC, "G1 GC"); |
3135 #endif | 3137 #endif |
3136 | 3138 |
3139 #ifdef _ALLBSD_SOURCE // UseLargePages is not yet supported on BSD. | |
3140 UNSUPPORTED_OPTION(UseLargePages, "-XX:+UseLargePages"); | |
3141 #endif | |
3142 | |
3137 #if !INCLUDE_ALTERNATE_GCS | 3143 #if !INCLUDE_ALTERNATE_GCS |
3138 if (UseParallelGC) { | 3144 if (UseParallelGC) { |
3139 warning("Parallel GC is not supported in this VM. Using Serial GC."); | 3145 warning("Parallel GC is not supported in this VM. Using Serial GC."); |
3140 } | 3146 } |
3141 if (UseParallelOldGC) { | 3147 if (UseParallelOldGC) { |