changeset 189:0b27f3512f9e

6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong. Summary: The assertion can failure due to race conditions. Reviewed-by: never
author jmasa
date Wed, 04 Jun 2008 13:51:09 -0700
parents 23a06eca8e83
children d1635bf93939
files src/share/vm/oops/methodDataOop.hpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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() {