mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-06 00:18:34 +00:00
6629727: assertion in set_trap_state() in methodDataOop.hpp is too strong
The assertion can failure due to race conditions. Reviewed-by: never
This commit is contained in:
parent
831ee085f0
commit
39463bb3fc
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user