Mercurial > hg > truffle
comparison src/cpu/x86/vm/templateInterpreter_x86.hpp @ 12952:74e00b98d5dd
8026708: guarantee(codelet_size > 0 && (size_t)codelet_size > 2*K) failed: not enough space for interpreter generation
Summary: Increase size for the template interpreter accordingly
Reviewed-by: kvn, twisti
author | anoll |
---|---|
date | Thu, 17 Oct 2013 19:47:04 +0200 |
parents | 6d7eba360ba4 |
children | 096c224171c4 de6a9e811145 |
comparison
equal
deleted
inserted
replaced
12889:90abdd727e64 | 12952:74e00b98d5dd |
---|---|
32 // fail with a guarantee ("not enough space for interpreter generation"); | 32 // fail with a guarantee ("not enough space for interpreter generation"); |
33 // if too small. | 33 // if too small. |
34 // Run with +PrintInterpreter to get the VM to print out the size. | 34 // Run with +PrintInterpreter to get the VM to print out the size. |
35 // Max size with JVMTI | 35 // Max size with JVMTI |
36 #ifdef AMD64 | 36 #ifdef AMD64 |
37 const static int InterpreterCodeSize = 208 * 1024; | 37 const static int InterpreterCodeSize = 256 * 1024; |
38 #else | 38 #else |
39 const static int InterpreterCodeSize = 176 * 1024; | 39 const static int InterpreterCodeSize = 224 * 1024; |
40 #endif // AMD64 | 40 #endif // AMD64 |
41 | 41 |
42 #endif // CPU_X86_VM_TEMPLATEINTERPRETER_X86_HPP | 42 #endif // CPU_X86_VM_TEMPLATEINTERPRETER_X86_HPP |