Mercurial > hg > truffle
comparison graal/com.oracle.max.graal.tests/src/com/oracle/graal/compiler/tests/GraalRuntimeAccess.java @ 5060:4ed4295ce15f
Update import statements.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 08 Mar 2012 19:11:12 +0100 |
parents | ed559a528128 |
children |
comparison
equal
deleted
inserted
replaced
5059:ed559a528128 | 5060:4ed4295ce15f |
---|---|
18 * | 18 * |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.max.graal.compiler.tests; | 23 package com.oracle.graal.compiler.tests; |
24 | 24 |
25 import java.lang.reflect.*; | 25 import java.lang.reflect.*; |
26 import java.util.*; | 26 import java.util.*; |
27 | 27 |
28 import com.oracle.max.graal.cri.*; | 28 import com.oracle.graal.cri.*; |
29 | 29 |
30 /** | 30 /** |
31 * Utility for getting a {@link GraalRuntime} instance from the current execution environment. | 31 * Utility for getting a {@link GraalRuntime} instance from the current execution environment. |
32 */ | 32 */ |
33 class GraalRuntimeAccess { | 33 class GraalRuntimeAccess { |
37 * have aliases that can be used with the {@code "graal.runtime"} system property to | 37 * have aliases that can be used with the {@code "graal.runtime"} system property to |
38 * specify the VM environment to try first when getting a Graal runtime instance. | 38 * specify the VM environment to try first when getting a Graal runtime instance. |
39 */ | 39 */ |
40 private static Map<String, String> graalRuntimeFactoryClasses = new LinkedHashMap<>(); | 40 private static Map<String, String> graalRuntimeFactoryClasses = new LinkedHashMap<>(); |
41 static { | 41 static { |
42 graalRuntimeFactoryClasses.put("HotSpot", "com.oracle.max.graal.hotspot.CompilerImpl"); | 42 graalRuntimeFactoryClasses.put("HotSpot", "com.oracle.graal.hotspot.CompilerImpl"); |
43 graalRuntimeFactoryClasses.put("Maxine", "com.oracle.max.vm.ext.maxri.MaxRuntime"); | 43 graalRuntimeFactoryClasses.put("Maxine", "com.oracle.max.vm.ext.maxri.MaxRuntime"); |
44 } | 44 } |
45 | 45 |
46 /** | 46 /** |
47 * Gets a Graal runtime instance from the current execution environment. | 47 * Gets a Graal runtime instance from the current execution environment. |