comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/jvmci/HotSpotCodeCacheProvider.java @ 21527:07b088d61d5d

added HotSpotJVMCIRuntime* classes, replaced references to HotSpotGraalRuntime in VM with HotSpotJVMCIRuntime (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Fri, 22 May 2015 23:26:20 +0200
parents graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/meta/HotSpotCodeCacheProvider.java@b04f579c803f
children
comparison
equal deleted inserted replaced
21526:1da7aef31a08 21527:07b088d61d5d
1 /* 1 /*
2 * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2013, 2015, 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.
38 import com.oracle.graal.api.code.DataSection.Data; 38 import com.oracle.graal.api.code.DataSection.Data;
39 import com.oracle.graal.api.code.DataSection.DataBuilder; 39 import com.oracle.graal.api.code.DataSection.DataBuilder;
40 import com.oracle.graal.api.meta.*; 40 import com.oracle.graal.api.meta.*;
41 import com.oracle.graal.compiler.common.*; 41 import com.oracle.graal.compiler.common.*;
42 import com.oracle.graal.debug.*; 42 import com.oracle.graal.debug.*;
43 import com.oracle.graal.hotspot.*;
44 import com.oracle.graal.hotspot.meta.*; 43 import com.oracle.graal.hotspot.meta.*;
45 import com.oracle.graal.printer.*; 44 import com.oracle.graal.printer.*;
46 45
47 /** 46 /**
48 * HotSpot implementation of {@link CodeCacheProvider}. 47 * HotSpot implementation of {@link CodeCacheProvider}.
49 */ 48 */
50 public class HotSpotCodeCacheProvider implements CodeCacheProvider { 49 public class HotSpotCodeCacheProvider implements CodeCacheProvider {
51 50
52 protected final HotSpotGraalRuntimeProvider runtime; 51 protected final HotSpotJVMCIRuntimeProvider runtime;
53 public final HotSpotVMConfig config; 52 public final HotSpotVMConfig config;
54 protected final TargetDescription target; 53 protected final TargetDescription target;
55 protected final RegisterConfig regConfig; 54 protected final RegisterConfig regConfig;
56 55
57 public HotSpotCodeCacheProvider(HotSpotGraalRuntimeProvider runtime, HotSpotVMConfig config, TargetDescription target, RegisterConfig regConfig) { 56 public HotSpotCodeCacheProvider(HotSpotJVMCIRuntimeProvider runtime, HotSpotVMConfig config, TargetDescription target, RegisterConfig regConfig) {
58 this.runtime = runtime; 57 this.runtime = runtime;
59 this.config = config; 58 this.config = config;
60 this.target = target; 59 this.target = target;
61 this.regConfig = regConfig; 60 this.regConfig = regConfig;
62 } 61 }