Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/thread.cpp @ 4981:1b8d02e10ee8
Remove the hacks around "is_Compiler_thread" assertions; Graal no longer uses the compiler thread mechanisms; don't create a C++ compilation queue or any compiler threads.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 22:15:05 +0100 |
parents | 33df1aeaebbf |
children | 897b7d18bebc |
line wrap: on
line diff
--- a/src/share/vm/runtime/thread.cpp Mon Feb 27 21:49:51 2012 +0100 +++ b/src/share/vm/runtime/thread.cpp Mon Feb 27 22:15:05 2012 +0100 @@ -4067,9 +4067,7 @@ { MutexLockerEx ml(doLock ? Threads_lock : NULL); ALL_JAVA_THREADS(p) { - - // (tw) May we do this? - //if (p->is_Compiler_thread()) continue; + if (p->is_Compiler_thread()) continue; address pending = (address)p->current_pending_monitor(); if (pending == monitor) { // found a match