-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: hs12
-
Component/s: hotspot
-
b02
-
generic
-
generic
-
Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-2177123 | 7 | Jon Masamitsu | P3 | Closed | Fixed | b29 |
| JDK-2174891 | 6u14 | Jon Masamitsu | P3 | Closed | Fixed | b01 |
In methodDataOop.hpp
void set_trap_state(int new_state) {
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");
}
the assertion
assert(trap_state() == new_state, "sanity");
can fail if the trap state is being set simultaneously by another
thread.
void set_trap_state(int new_state) {
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");
}
the assertion
assert(trap_state() == new_state, "sanity");
can fail if the trap state is being set simultaneously by another
thread.
- backported by
-
JDK-2174891 assertion in set_trap_state() in methodDataOop.hpp is too strong.
-
- Closed
-
-
JDK-2177123 assertion in set_trap_state() in methodDataOop.hpp is too strong.
-
- Closed
-