io.quarkus.runtime.graal.TimingReplacement Maven / Gradle / Ivy
The 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