# HG changeset patch # User Doug Simon # Date 1390520950 -3600 # Node ID ac1e626432f94f8b9c9dbfe9e178cf99d1881f5f # Parent b9c5875e3a36a1e25927b9682dac2d6fc5afb2a8 GPUOffload option does not interact with GPU detection diff -r b9c5875e3a36 -r ac1e626432f9 src/share/vm/runtime/thread.cpp --- a/src/share/vm/runtime/thread.cpp Fri Jan 24 00:33:56 2014 +0100 +++ b/src/share/vm/runtime/thread.cpp Fri Jan 24 00:49:10 2014 +0100 @@ -3395,11 +3395,8 @@ if (parse_result != JNI_OK) return parse_result; #ifdef GRAAL - if (GPUOffload) { - // Probe for existance of supported GPU and initialize it if one - // exists. - gpu::init(); - } + // Probe for supported GPUs and initialize them. + gpu::init(); #endif os::init_before_ergo();