Mercurial > hg > truffle
comparison src/cpu/sparc/vm/macroAssembler_sparc.cpp @ 17980:0bf37f737702
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: twisti, kvn
author | roland |
---|---|
date | Tue, 01 Apr 2014 09:36:49 +0200 |
parents | be525e91f65b |
children |
comparison
equal
deleted
inserted
replaced
17978:ad51f24671c2 | 17980:0bf37f737702 |
---|---|
3529 // At this point, (tmp-0) is the last address touched, so don't | 3529 // At this point, (tmp-0) is the last address touched, so don't |
3530 // touch it again. (It was touched as (tmp-pagesize) but then tmp | 3530 // touch it again. (It was touched as (tmp-pagesize) but then tmp |
3531 // was post-decremented.) Skip this address by starting at i=1, and | 3531 // was post-decremented.) Skip this address by starting at i=1, and |
3532 // touch a few more pages below. N.B. It is important to touch all | 3532 // touch a few more pages below. N.B. It is important to touch all |
3533 // the way down to and including i=StackShadowPages. | 3533 // the way down to and including i=StackShadowPages. |
3534 for (int i = 1; i <= StackShadowPages; i++) { | 3534 for (int i = 1; i < StackShadowPages; i++) { |
3535 set((-i*offset)+STACK_BIAS, Rscratch); | 3535 set((-i*offset)+STACK_BIAS, Rscratch); |
3536 st(G0, Rtsp, Rscratch); | 3536 st(G0, Rtsp, Rscratch); |
3537 } | 3537 } |
3538 } | 3538 } |
3539 | 3539 |