Mercurial > hg > graal-jvmci-8
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/HotSpotRuntime.java @ 1938:1aa5b22a7716
Support for custom stack area (needed for deoptimization).
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Mon, 27 Dec 2010 14:22:55 +0100 |
parents | ace6e55373eb |
children | 177398c6147d |
comparison
equal
deleted
inserted
replaced
1937:4853c5cad3aa | 1938:1aa5b22a7716 |
---|---|
216 | 216 |
217 @Override | 217 @Override |
218 public RiRegisterConfig getRegisterConfig(RiMethod method) { | 218 public RiRegisterConfig getRegisterConfig(RiMethod method) { |
219 return regConfig; | 219 return regConfig; |
220 } | 220 } |
221 | |
222 /** | |
223 * HotSpots needs an area suitable for storing a program counter for temporary use during the deoptimization process. | |
224 */ | |
225 @Override | |
226 public int getCustomStackAreaSize() { | |
227 return 8; | |
228 } | |
221 } | 229 } |