8146115: Improve docker container detection and resource configuration usage

Reviewed-by: dholmes, kbarrett, phh
This commit is contained in:
Bob Vandette 2017-11-15 10:34:17 -05:00
parent 2f84103a78
commit 20a8de0f70
15 changed files with 899 additions and 13 deletions

View file

@ -3528,6 +3528,7 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
LogConfiguration::initialize(create_vm_timer.begin_time());
// Parse arguments
// Note: this internally calls os::init_container_support()
jint parse_result = Arguments::parse(args);
if (parse_result != JNI_OK) return parse_result;