diff 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
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.cpp	Tue Jan 05 11:16:09 2010 -0800
+++ b/src/share/vm/code/nmethod.cpp	Tue Jan 05 16:12:26 2010 -0800
@@ -1170,7 +1170,7 @@
 }
 
 // Common functionality for both make_not_entrant and make_zombie
-bool nmethod::make_not_entrant_or_zombie(int state) {
+bool nmethod::make_not_entrant_or_zombie(unsigned int state) {
   assert(state == zombie || state == not_entrant, "must be zombie or not_entrant");
 
   // If the method is already zombie there is nothing to do