6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong.
Summary: The assertion can failure due to race conditions.
Reviewed-by: never
--- 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() {