6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong.
authorjmasa
Wed, 04 Jun 2008 13:51:09 -0700
changeset 615 570062d730b2
parent 586 d2fd9a67db2b
child 616 4f2dfc0168e2
child 1374 4c24294029a9
6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong. Summary: The assertion can failure due to race conditions. Reviewed-by: never
hotspot/src/share/vm/oops/methodDataOop.hpp
--- a/hotspot/src/share/vm/oops/methodDataOop.hpp	Tue May 27 11:46:44 2008 -0700
+++ b/hotspot/src/share/vm/oops/methodDataOop.hpp	Wed Jun 04 13:51:09 2008 -0700
@@ -158,7 +158,6 @@
     assert(ProfileTraps, "used only under +ProfileTraps");
     uint old_flags = (_header._struct._flags & flag_mask);
     _header._struct._flags = (new_state << trap_shift) | old_flags;
-    assert(trap_state() == new_state, "sanity");
   }
 
   u1 flags() {