< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot.amd64/src/jdk/vm/ci/hotspot/amd64/AMD64HotSpotJVMCIBackendFactory.java

Print this page




 189                 metaAccess = createMetaAccess(runtime);
 190             }
 191             try (InitTimer rt = timer("create RegisterConfig")) {
 192                 regConfig = createRegisterConfig(runtime, target);
 193             }
 194             try (InitTimer rt = timer("create CodeCache provider")) {
 195                 codeCache = createCodeCache(runtime, target, regConfig);
 196             }
 197             try (InitTimer rt = timer("create ConstantReflection provider")) {
 198                 constantReflection = createConstantReflection(runtime);
 199             }
 200             try (InitTimer rt = timer("create StackIntrospection provider")) {
 201                 stackIntrospection = new HotSpotStackIntrospection(runtime);
 202             }
 203         }
 204         try (InitTimer rt = timer("instantiate backend")) {
 205             return createBackend(metaAccess, codeCache, constantReflection, stackIntrospection);
 206         }
 207     }
 208 
 209     protected JVMCIBackend createBackend(HotSpotMetaAccessProvider metaAccess, HotSpotCodeCacheProvider codeCache, ConstantReflectionProvider constantReflection, StackIntrospection stackIntrospection) {

 210         return new JVMCIBackend(metaAccess, codeCache, constantReflection, stackIntrospection);
 211     }
 212 }


 189                 metaAccess = createMetaAccess(runtime);
 190             }
 191             try (InitTimer rt = timer("create RegisterConfig")) {
 192                 regConfig = createRegisterConfig(runtime, target);
 193             }
 194             try (InitTimer rt = timer("create CodeCache provider")) {
 195                 codeCache = createCodeCache(runtime, target, regConfig);
 196             }
 197             try (InitTimer rt = timer("create ConstantReflection provider")) {
 198                 constantReflection = createConstantReflection(runtime);
 199             }
 200             try (InitTimer rt = timer("create StackIntrospection provider")) {
 201                 stackIntrospection = new HotSpotStackIntrospection(runtime);
 202             }
 203         }
 204         try (InitTimer rt = timer("instantiate backend")) {
 205             return createBackend(metaAccess, codeCache, constantReflection, stackIntrospection);
 206         }
 207     }
 208 
 209     protected JVMCIBackend createBackend(HotSpotMetaAccessProvider metaAccess, HotSpotCodeCacheProvider codeCache, ConstantReflectionProvider constantReflection,
 210                     StackIntrospection stackIntrospection) {
 211         return new JVMCIBackend(metaAccess, codeCache, constantReflection, stackIntrospection);
 212     }
 213 }
< prev index next >