1209 } |
1209 } |
1210 #ifdef _WIN64 |
1210 #ifdef _WIN64 |
1211 if (UseLargePages && UseCompressedOops) { |
1211 if (UseLargePages && UseCompressedOops) { |
1212 // Cannot allocate guard pages for implicit checks in indexed addressing |
1212 // Cannot allocate guard pages for implicit checks in indexed addressing |
1213 // mode, when large pages are specified on windows. |
1213 // mode, when large pages are specified on windows. |
1214 FLAG_SET_DEFAULT(UseImplicitNullCheckForNarrowOop, false); |
1214 // This flag could be switched ON if narrow oop base address is set to 0, |
|
1215 // see code in Universe::initialize_heap(). |
|
1216 Universe::set_narrow_oop_use_implicit_null_checks(false); |
1215 } |
1217 } |
1216 #endif // _WIN64 |
1218 #endif // _WIN64 |
1217 } else { |
1219 } else { |
1218 if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) { |
1220 if (UseCompressedOops && !FLAG_IS_DEFAULT(UseCompressedOops)) { |
1219 warning("Max heap size too large for Compressed Oops"); |
1221 warning("Max heap size too large for Compressed Oops"); |