src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotTTYStreamProvider.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotTTYStreamProvider.java

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

Print this page

        

*** 20,29 **** --- 20,31 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package org.graalvm.compiler.hotspot; + import static org.graalvm.compiler.hotspot.HotSpotGraalOptionValues.HOTSPOT_OPTIONS; + import java.io.PrintStream; import org.graalvm.compiler.debug.TTYStreamProvider; import org.graalvm.compiler.options.Option; import org.graalvm.compiler.options.OptionType;
*** 35,48 **** public static class Options { // @formatter:off @Option(help = "File to which logging is sent. A %p in the name will be replaced with a string identifying " + "the process, usually the process id and %t will be replaced by System.currentTimeMillis().", type = OptionType.Expert) ! public static final PrintStreamOption LogFile = new PrintStreamOption(); // @formatter:on } @Override public PrintStream getStream() { ! return Options.LogFile.getStream(); } } --- 37,50 ---- public static class Options { // @formatter:off @Option(help = "File to which logging is sent. A %p in the name will be replaced with a string identifying " + "the process, usually the process id and %t will be replaced by System.currentTimeMillis().", type = OptionType.Expert) ! public static final PrintStreamOptionKey LogFile = new PrintStreamOptionKey(); // @formatter:on } @Override public PrintStream getStream() { ! return Options.LogFile.getStream(HOTSPOT_OPTIONS); } }
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotTTYStreamProvider.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File