Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 449:171e581e8161
6554406: Change switch UseVMInterruptibleIO default to false (sol)
Summary: The default value of UseVMInterruptibleIO is changed to false for JDK 7, but the default isn't changed for JDK 6 and earlier.
Reviewed-by: never, acorn, dholmes, kamg, alanb
author | xlu |
---|---|
date | Sat, 22 Nov 2008 00:16:09 -0800 |
parents | a1980da045cc |
children | 0f773163217d |
comparison
equal
deleted
inserted
replaced
448:ba7f9d894282 | 449:171e581e8161 |
---|---|
2320 // Unknown option | 2320 // Unknown option |
2321 } else if (is_bad_option(option, args->ignoreUnrecognized)) { | 2321 } else if (is_bad_option(option, args->ignoreUnrecognized)) { |
2322 return JNI_ERR; | 2322 return JNI_ERR; |
2323 } | 2323 } |
2324 } | 2324 } |
2325 | 2325 // Change the default value for flags which have different default values |
2326 // when working with older JDKs. | |
2327 if (JDK_Version::current().compare_major(6) <= 0 && | |
2328 FLAG_IS_DEFAULT(UseVMInterruptibleIO)) { | |
2329 FLAG_SET_DEFAULT(UseVMInterruptibleIO, true); | |
2330 } | |
2326 return JNI_OK; | 2331 return JNI_OK; |
2327 } | 2332 } |
2328 | 2333 |
2329 jint Arguments::finalize_vm_init_args(SysClassPath* scp_p, bool scp_assembly_required) { | 2334 jint Arguments::finalize_vm_init_args(SysClassPath* scp_p, bool scp_assembly_required) { |
2330 // This must be done after all -D arguments have been processed. | 2335 // This must be done after all -D arguments have been processed. |