changeset 8702:6c9f9f286c31

8079156: [TESTBUG] 32 bit Java 9-fastdebug hit assertion in client mode with StackShadowPages flag value from 32 to 50. Summary: We increase CodeBufer instr size to account for stack banging code generation. Reviewed-by: coleenp, dholmes, kvn
author gziemski
date Tue, 14 Jul 2015 11:08:41 -0500
parents 7927c85ed6b1
children 57bdf5c8e371
files src/cpu/x86/vm/sharedRuntime_x86_32.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/x86/vm/sharedRuntime_x86_32.cpp	Tue Jul 14 11:40:49 2015 +0200
+++ b/src/cpu/x86/vm/sharedRuntime_x86_32.cpp	Tue Jul 14 11:08:41 2015 -0500
@@ -2456,7 +2456,8 @@
   // allocate space for the code
   ResourceMark rm;
   // setup code generation tools
-  CodeBuffer   buffer("deopt_blob", 1024, 1024);
+  // note: the buffer code size must account for StackShadowPages=50
+  CodeBuffer   buffer("deopt_blob", 1536, 1024);
   MacroAssembler* masm = new MacroAssembler(&buffer);
   int frame_size_in_words;
   OopMap* map = NULL;