diff src/share/vm/code/nmethod.hpp @ 1141:b1f619d38249

6914002: unsigned compare problem after 5057818 Reviewed-by: kvn, twisti
author never
date Tue, 05 Jan 2010 16:12:26 -0800
parents e66fd840cb6b
children 4e6abf09f540
line wrap: on
line diff
--- a/src/share/vm/code/nmethod.hpp	Tue Jan 05 11:16:09 2010 -0800
+++ b/src/share/vm/code/nmethod.hpp	Tue Jan 05 16:12:26 2010 -0800
@@ -255,7 +255,7 @@
   const char* reloc_string_for(u_char* begin, u_char* end);
   // Returns true if this thread changed the state of the nmethod or
   // false if another thread performed the transition.
-  bool make_not_entrant_or_zombie(int state);
+  bool make_not_entrant_or_zombie(unsigned int state);
   void inc_decompile_count();
 
   // used to check that writes to nmFlags are done consistently.