Mercurial > hg > graal-compiler
comparison src/share/vm/compiler/compileBroker.cpp @ 21527:07b088d61d5d
added HotSpotJVMCIRuntime* classes, replaced references to HotSpotGraalRuntime in VM with HotSpotJVMCIRuntime (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 22 May 2015 23:26:20 +0200 |
parents | 7848fc12602b |
children | be896a1983c0 |
comparison
equal
deleted
inserted
replaced
21526:1da7aef31a08 | 21527:07b088d61d5d |
---|---|
1338 blocking = false; | 1338 blocking = false; |
1339 break; | 1339 break; |
1340 } | 1340 } |
1341 } | 1341 } |
1342 | 1342 |
1343 // Don't allow blocking compilation requests to Graal | 1343 // Don't allow blocking compilation requests to JVMCI |
1344 // if Graal itself is not yet initialized | 1344 // if JVMCI itself is not yet initialized |
1345 if (!GraalRuntime::is_HotSpotGraalRuntime_initialized() && compiler(comp_level)->is_graal()) { | 1345 if (!GraalRuntime::is_HotSpotJVMCIRuntime_initialized() && compiler(comp_level)->is_graal()) { |
1346 blocking = false; | 1346 blocking = false; |
1347 } | 1347 } |
1348 | 1348 |
1349 // Don't allow blocking compilation requests if we are in GraalRuntime::shutdown | 1349 // Don't allow blocking compilation requests if we are in GraalRuntime::shutdown |
1350 // to avoid deadlock between compiler thread(s) and threads run at shutdown | 1350 // to avoid deadlock between compiler thread(s) and threads run at shutdown |