< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/CompilerConfigurationFactory.java

Print this page
rev 56282 : [mq]: graal

*** 1,7 **** /* ! * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 24,34 **** package org.graalvm.compiler.hotspot; import static jdk.vm.ci.common.InitTimer.timer; - import java.net.URL; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; --- 24,33 ----
*** 50,59 **** --- 49,59 ---- import org.graalvm.compiler.phases.tiers.CompilerConfiguration; import org.graalvm.compiler.serviceprovider.GraalServices; import jdk.vm.ci.code.Architecture; import jdk.vm.ci.common.InitTimer; + import jdk.vm.ci.services.Services; /** * A factory that creates the {@link CompilerConfiguration} the compiler will use. Each factory must * have a unique {@link #name} and {@link #autoSelectionPriority}. The latter imposes a total * ordering between factories for the purpose of auto-selecting the factory to use.
*** 245,255 **** } return factory; } private static void printConfigInfo(CompilerConfigurationFactory factory) { ! URL location = factory.getClass().getResource(factory.getClass().getSimpleName() + ".class"); TTY.printf("Using compiler configuration '%s' provided by %s loaded from %s%n", factory.name, factory.getClass().getName(), location); } private static <C> List<String> phaseNames(PhaseSuite<C> suite) { Collection<BasePhase<? super C>> phases = suite.getPhases(); --- 245,255 ---- } return factory; } private static void printConfigInfo(CompilerConfigurationFactory factory) { ! Object location = Services.IS_IN_NATIVE_IMAGE ? "JVMCI native library" : factory.getClass().getResource(factory.getClass().getSimpleName() + ".class"); TTY.printf("Using compiler configuration '%s' provided by %s loaded from %s%n", factory.name, factory.getClass().getName(), location); } private static <C> List<String> phaseNames(PhaseSuite<C> suite) { Collection<BasePhase<? super C>> phases = suite.getPhases();
< prev index next >