hotspot/src/share/vm/compiler/abstractCompiler.cpp
changeset 33198 b37ad9fbf681
parent 33160 c59f1676d27e
equal deleted inserted replaced
33155:73bf16b22e89 33198:b37ad9fbf681
    56   }
    56   }
    57   return false;
    57   return false;
    58 }
    58 }
    59 
    59 
    60 void AbstractCompiler::set_state(int state) {
    60 void AbstractCompiler::set_state(int state) {
    61   // Ensure that ste is only set by one thread at a time
    61   // Ensure that state is only set by one thread at a time
    62   MutexLocker only_one(CompileThread_lock);
    62   MutexLocker only_one(CompileThread_lock);
    63   _compiler_state =  state;
    63   _compiler_state =  state;
    64   CompileThread_lock->notify_all();
    64   CompileThread_lock->notify_all();
    65 }
    65 }