Mercurial > hg > truffle
comparison src/share/vm/oops/method.cpp @ 15463:a20be10ad437
made Graal work with the HotSpot compiler queue and compiler threads, enabled by -XX:-UseGraalCompilationQueue
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 02 May 2014 00:36:27 +0200 |
parents | 36e1a11a72b3 |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
15462:05d3f069cff2 | 15463:a20be10ad437 |
---|---|
1312 } | 1312 } |
1313 } | 1313 } |
1314 | 1314 |
1315 // These two methods are static since a GC may move the Method | 1315 // These two methods are static since a GC may move the Method |
1316 bool Method::load_signature_classes(methodHandle m, TRAPS) { | 1316 bool Method::load_signature_classes(methodHandle m, TRAPS) { |
1317 if (THREAD->is_Compiler_thread()) { | 1317 if (!THREAD->can_call_java()) { |
1318 // There is nothing useful this routine can do from within the Compile thread. | 1318 // There is nothing useful this routine can do from within the Compile thread. |
1319 // Hopefully, the signature contains only well-known classes. | 1319 // Hopefully, the signature contains only well-known classes. |
1320 // We could scan for this and return true/false, but the caller won't care. | 1320 // We could scan for this and return true/false, but the caller won't care. |
1321 return false; | 1321 return false; |
1322 } | 1322 } |