comparison src/share/vm/runtime/thread.cpp @ 13739:ac1e626432f9

GPUOffload option does not interact with GPU detection
author Doug Simon <doug.simon@oracle.com>
date Fri, 24 Jan 2014 00:49:10 +0100
parents 9161ed8ce796
children 8cd953e97e2d
comparison
equal deleted inserted replaced
13738:b9c5875e3a36 13739:ac1e626432f9
3393 // Parse arguments 3393 // Parse arguments
3394 jint parse_result = Arguments::parse(args); 3394 jint parse_result = Arguments::parse(args);
3395 if (parse_result != JNI_OK) return parse_result; 3395 if (parse_result != JNI_OK) return parse_result;
3396 3396
3397 #ifdef GRAAL 3397 #ifdef GRAAL
3398 if (GPUOffload) { 3398 // Probe for supported GPUs and initialize them.
3399 // Probe for existance of supported GPU and initialize it if one 3399 gpu::init();
3400 // exists.
3401 gpu::init();
3402 }
3403 #endif 3400 #endif
3404 3401
3405 os::init_before_ergo(); 3402 os::init_before_ergo();
3406 3403
3407 jint ergo_result = Arguments::apply_ergo(); 3404 jint ergo_result = Arguments::apply_ergo();