# HG changeset patch # User jmasa # Date 1212612669 25200 # Node ID 0b27f3512f9eaba6da4e866b3887c38850408055 # Parent 23a06eca8e83cfa6096f52bf564fecf514e2724b 6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong. Summary: The assertion can failure due to race conditions. Reviewed-by: never diff -r 23a06eca8e83 -r 0b27f3512f9e src/share/vm/oops/methodDataOop.hpp --- a/src/share/vm/oops/methodDataOop.hpp Tue May 27 11:46:44 2008 -0700 +++ b/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() {