src/share/vm/asm/assembler.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/asm/assembler.cpp

src/share/vm/asm/assembler.cpp

Print this page
rev 6086 : 8032410: compiler/uncommontrap/TestStackBangRbp.java times out on Solaris-Sparc V9
Summary: make compiled code bang the stack by the worst case size of the interpreter frame at deoptimization points.
Reviewed-by:

*** 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) { --- 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+1)*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 Patch New Old Previous File Next File