src/share/vm/asm/assembler.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/asm/assembler.cpp Mon May 5 12:28:40 2014
--- new/src/share/vm/asm/assembler.cpp Mon May 5 12:28:39 2014
*** 117,127 ****
--- 117,127 ----
}
L.bind_loc(locator());
L.patch_instructions((MacroAssembler*)this);
}
- void AbstractAssembler::generate_stack_overflow_check( int frame_size_in_bytes) {
if (UseStackBanging) {
// Each code entry causes one stack bang n pages down the stack where n
// is configurable by StackShadowPages. The setting depends on the maximum
// depth of VM call stack or native before going back into java code,
// since only java code can raise a stack overflow exception using the
*** 132,142 ****
--- 132,142 ----
// this shadow zone.
// The entry code may need to bang additional pages if the framesize
// is greater than a page.
const int page_size = os::vm_page_size();
! int bang_end = StackShadowPages * page_size;
// This is how far the previous frame's stack banging extended.
const int bang_end_safe = bang_end;
if (frame_size_in_bytes > page_size) {
src/share/vm/asm/assembler.cpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File