Mercurial > hg > graal-compiler
comparison src/share/vm/asm/assembler.cpp @ 13102:f9f4503a4ab5
Merge
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Thu, 21 Nov 2013 15:04:54 +0100 |
parents | be525e91f65b |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
13101:790ebab62d23 | 13102:f9f4503a4ab5 |
---|---|
120 } | 120 } |
121 | 121 |
122 void AbstractAssembler::generate_stack_overflow_check( int frame_size_in_bytes) { | 122 void AbstractAssembler::generate_stack_overflow_check( int frame_size_in_bytes) { |
123 if (UseStackBanging) { | 123 if (UseStackBanging) { |
124 // Each code entry causes one stack bang n pages down the stack where n | 124 // Each code entry causes one stack bang n pages down the stack where n |
125 // is configurable by StackBangPages. The setting depends on the maximum | 125 // is configurable by StackShadowPages. The setting depends on the maximum |
126 // depth of VM call stack or native before going back into java code, | 126 // depth of VM call stack or native before going back into java code, |
127 // since only java code can raise a stack overflow exception using the | 127 // since only java code can raise a stack overflow exception using the |
128 // stack banging mechanism. The VM and native code does not detect stack | 128 // stack banging mechanism. The VM and native code does not detect stack |
129 // overflow. | 129 // overflow. |
130 // The code in JavaCalls::call() checks that there is at least n pages | 130 // The code in JavaCalls::call() checks that there is at least n pages |