All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.runtime.graal.TimingReplacement Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.runtime.graal;

import com.oracle.svm.core.annotate.Alias;
import com.oracle.svm.core.annotate.Substitute;
import com.oracle.svm.core.annotate.TargetClass;

import io.quarkus.bootstrap.runner.Timing;

@TargetClass(Timing.class)
final class TimingReplacement {

    @Alias
    private static Timing main = null;

    @Substitute
    public static void mainStarted() {
        main.bootStartTime = System.nanoTime();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy