Mercurial > hg > truffle
comparison src/share/vm/asm/assembler.cpp @ 13047:be525e91f65b
8026775: nsk/jvmti/RedefineClasses/StressRedefine crashes due to EXCEPTION_ACCESS_VIOLATION
Summary: Uncommon trap blob did not bang all the stack shadow pages
Reviewed-by: kvn, twisti, iveresov, jrose
author | mikael |
---|---|
date | Wed, 06 Nov 2013 06:51:24 -0800 |
parents | 746b070f5022 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
13046:613e6a6fc328 | 13047:be525e91f65b |
---|---|
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 |