hotspot/src/share/vm/code/nmethod.cpp
changeset 4570 43d30f43697e
parent 4567 7fc02fbe5c7a
child 4584 e2a449e8cc6f
equal deleted inserted replaced
4569:f372ea9e5ed4 4570:43d30f43697e
  1168     tty->cr();
  1168     tty->cr();
  1169   }
  1169   }
  1170 }
  1170 }
  1171 
  1171 
  1172 // Common functionality for both make_not_entrant and make_zombie
  1172 // Common functionality for both make_not_entrant and make_zombie
  1173 bool nmethod::make_not_entrant_or_zombie(int state) {
  1173 bool nmethod::make_not_entrant_or_zombie(unsigned int state) {
  1174   assert(state == zombie || state == not_entrant, "must be zombie or not_entrant");
  1174   assert(state == zombie || state == not_entrant, "must be zombie or not_entrant");
  1175 
  1175 
  1176   // If the method is already zombie there is nothing to do
  1176   // If the method is already zombie there is nothing to do
  1177   if (is_zombie()) {
  1177   if (is_zombie()) {
  1178     return false;
  1178     return false;