Mercurial > hg > truffle
comparison src/cpu/x86/vm/vtableStubs_x86_64.cpp @ 1783:d5d065957597
6953144: Tiered compilation
Summary: Infrastructure for tiered compilation support (interpreter + c1 + c2) for 32 and 64 bit. Simple tiered policy implementation.
Reviewed-by: kvn, never, phh, twisti
author | iveresov |
---|---|
date | Fri, 03 Sep 2010 17:51:07 -0700 |
parents | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1782:f353275af40e | 1783:d5d065957597 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2009, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
207 // Vtable stub size | 207 // Vtable stub size |
208 return (DebugVtables ? 512 : 24) + (CountCompiledCalls ? 13 : 0) + | 208 return (DebugVtables ? 512 : 24) + (CountCompiledCalls ? 13 : 0) + |
209 (UseCompressedOops ? 16 : 0); // 1 leaq can be 3 bytes + 1 long | 209 (UseCompressedOops ? 16 : 0); // 1 leaq can be 3 bytes + 1 long |
210 } else { | 210 } else { |
211 // Itable stub size | 211 // Itable stub size |
212 return (DebugVtables ? 512 : 72) + (CountCompiledCalls ? 13 : 0) + | 212 return (DebugVtables ? 512 : 74) + (CountCompiledCalls ? 13 : 0) + |
213 (UseCompressedOops ? 32 : 0); // 2 leaqs | 213 (UseCompressedOops ? 32 : 0); // 2 leaqs |
214 } | 214 } |
215 // In order to tune these parameters, run the JVM with VM options | 215 // In order to tune these parameters, run the JVM with VM options |
216 // +PrintMiscellaneous and +WizardMode to see information about | 216 // +PrintMiscellaneous and +WizardMode to see information about |
217 // actual itable stubs. Look for lines like this: | 217 // actual itable stubs. Look for lines like this: |