Mercurial > hg > truffle
comparison src/share/vm/runtime/thread.cpp @ 13819:49db2c1e3bee
added support for co-existing GPU backends (JBS:GRAAL-1)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 30 Jan 2014 00:52:33 +0100 |
parents | 8cd953e97e2d |
children | 7ad529321294 |
comparison
equal
deleted
inserted
replaced
13818:d2f520f46180 | 13819:49db2c1e3bee |
---|---|
3390 | 3390 |
3391 // Parse arguments | 3391 // Parse arguments |
3392 jint parse_result = Arguments::parse(args); | 3392 jint parse_result = Arguments::parse(args); |
3393 if (parse_result != JNI_OK) return parse_result; | 3393 if (parse_result != JNI_OK) return parse_result; |
3394 | 3394 |
3395 #ifdef GRAAL | |
3396 // Probe for supported GPUs and initialize them. | |
3397 gpu::init(); | |
3398 #endif | |
3399 | |
3400 os::init_before_ergo(); | 3395 os::init_before_ergo(); |
3401 | 3396 |
3402 jint ergo_result = Arguments::apply_ergo(); | 3397 jint ergo_result = Arguments::apply_ergo(); |
3403 if (ergo_result != JNI_OK) return ergo_result; | 3398 if (ergo_result != JNI_OK) return ergo_result; |
3404 | 3399 |