comparison 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
comparison
equal deleted inserted replaced
4980:1c7c5be93e84 4981:1b8d02e10ee8
4065 4065
4066 int i = 0; 4066 int i = 0;
4067 { 4067 {
4068 MutexLockerEx ml(doLock ? Threads_lock : NULL); 4068 MutexLockerEx ml(doLock ? Threads_lock : NULL);
4069 ALL_JAVA_THREADS(p) { 4069 ALL_JAVA_THREADS(p) {
4070 4070 if (p->is_Compiler_thread()) continue;
4071 // (tw) May we do this?
4072 //if (p->is_Compiler_thread()) continue;
4073 4071
4074 address pending = (address)p->current_pending_monitor(); 4072 address pending = (address)p->current_pending_monitor();
4075 if (pending == monitor) { // found a match 4073 if (pending == monitor) { // found a match
4076 if (i < count) result->append(p); // save the first count matches 4074 if (i < count) result->append(p); // save the first count matches
4077 i++; 4075 i++;