From 6505e68aca673fe0b2d1dfb80ac6f436d192c6e4 Mon Sep 17 00:00:00 2001 From: jmasa Date: Wed, 4 Jun 2008 13:51:09 -0700 Subject: [PATCH] 6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong. Summary: The assertion can failure due to race conditions. Reviewed-by: never --- src/share/vm/oops/methodDataOop.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/share/vm/oops/methodDataOop.hpp b/src/share/vm/oops/methodDataOop.hpp index 9c19f9b3a..ab84e5e0e 100644 --- a/src/share/vm/oops/methodDataOop.hpp +++ b/src/share/vm/oops/methodDataOop.hpp @@ -158,7 +158,6 @@ public: 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() { -- GitLab