Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2173046 | 7 | Xiaobin Lu | P2 | Closed | Fixed | b47 |
JDK-2180461 | 6u18 | Xiaobin Lu | P2 | Closed | Fixed | b01 |
Crashes have been observed using SoyLatte and the BSD port of OpenJDK on Mac OS X with applications involving many native calls, specifically graphical programs. Various parties have identified the reason as misalignment of the stack; Mac OS X requires 16-byte alignment of stack frames even on 32-bit platforms. While StackAlignmentInBytes is defined as 16 in 32-bit x86 HotSpot, the compiled native wrappers for frequently invoked JNI methods are not appropriately rounding up the frame size. It appears that this is the only place in the VM where the stack alignment is not being obeyed.
- backported by
-
JDK-2173046 StackAlignmentInBytes not honored for compiled native methods
- Closed
-
JDK-2180461 StackAlignmentInBytes not honored for compiled native methods
- Closed