HotSpotJVMCIBackendFactory.java revision 12651:6ef01bd40ce2
1207753Smm/*
2207753Smm * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
3207753Smm * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4207753Smm *
5207753Smm * This code is free software; you can redistribute it and/or modify it
6207753Smm * under the terms of the GNU General Public License version 2 only, as
7207753Smm * published by the Free Software Foundation.
8207753Smm *
9207753Smm * This code is distributed in the hope that it will be useful, but WITHOUT
10207753Smm * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11207753Smm * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12207753Smm * version 2 for more details (a copy is included in the LICENSE file that
13207753Smm * accompanied this code).
14207753Smm *
15207753Smm * You should have received a copy of the GNU General Public License version
16207753Smm * 2 along with this work; if not, write to the Free Software Foundation,
17207753Smm * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18207753Smm *
19207753Smm * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20207753Smm * or visit www.oracle.com if you need additional information or have any
21207753Smm * questions.
22207753Smm */
23207753Smmpackage jdk.vm.ci.hotspot;
24207753Smm
25207753Smmimport jdk.vm.ci.runtime.JVMCIBackend;
26207753Smm
27207753Smmpublic interface HotSpotJVMCIBackendFactory {
28207753Smm
29207753Smm    JVMCIBackend createJVMCIBackend(HotSpotJVMCIRuntimeProvider runtime, JVMCIBackend host);
30207753Smm
31207753Smm    /**
32207753Smm     * Gets the CPU architecture of this backend.
33207753Smm     */
34207753Smm    String getArchitecture();
35207753Smm}
36207753Smm