comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/Compiler.java @ 1473:cb04e4217df0

Sync with CRI/C1X changes.
author Doug Simon <doug.simon@oracle.com>
date Tue, 30 Nov 2010 15:13:57 +0100
parents 7641338cfc92
children 2a6ce81e3101
comparison
equal deleted inserted replaced
1472:7641338cfc92 1473:cb04e4217df0
18 * UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open 18 * UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open
19 * Company, Ltd. 19 * Company, Ltd.
20 */ 20 */
21 package com.sun.hotspot.c1x; 21 package com.sun.hotspot.c1x;
22 22
23 import java.lang.management.*;
24 import java.lang.reflect.Proxy; 23 import java.lang.reflect.Proxy;
25 import java.net.*; 24 import java.net.*;
26 25
27 import com.sun.c1x.*; 26 import com.sun.c1x.*;
28 import com.sun.c1x.target.amd64.*; 27 import com.sun.c1x.target.amd64.*;
147 146
148 runtime = new HotSpotRuntime(config); 147 runtime = new HotSpotRuntime(config);
149 final int wordSize = 8; 148 final int wordSize = 8;
150 final int stackFrameAlignment = 16; 149 final int stackFrameAlignment = 16;
151 registerConfig = runtime.globalStubRegConfig; 150 registerConfig = runtime.globalStubRegConfig;
152 target = new HotSpotTarget(new AMD64(), true, wordSize, wordSize, wordSize, stackFrameAlignment, config.vmPageSize, wordSize, wordSize, config.codeEntryAlignment, true); 151 target = new HotSpotTarget(new AMD64(), true, wordSize, stackFrameAlignment, config.vmPageSize, wordSize, true);
153 152
154 if (Logger.ENABLED) { 153 if (Logger.ENABLED) {
155 generator = LoggingProxy.getProxy(RiXirGenerator.class, new HotSpotXirGenerator(config, target, registerConfig)); 154 generator = LoggingProxy.getProxy(RiXirGenerator.class, new HotSpotXirGenerator(config, target, registerConfig));
156 } else { 155 } else {
157 generator = new HotSpotXirGenerator(config, target, registerConfig); 156 generator = new HotSpotXirGenerator(config, target, registerConfig);