comparison src/share/vm/code/nmethod.cpp @ 1141:b1f619d38249

6914002: unsigned compare problem after 5057818 Reviewed-by: kvn, twisti
author never
date Tue, 05 Jan 2010 16:12:26 -0800
parents dd57230ba8fe
children 4e6abf09f540
comparison
equal deleted inserted replaced
1140:1f6d42899c3a 1141:b1f619d38249
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;