GraalCompilerOptions.java revision 12657:6ef01bd40ce2
1162271Srwatson/* 2162271Srwatson * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 3172106Srwatson * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4162271Srwatson * 5162271Srwatson * This code is free software; you can redistribute it and/or modify it 6162271Srwatson * under the terms of the GNU General Public License version 2 only, as 7162271Srwatson * published by the Free Software Foundation. 8162271Srwatson * 9162271Srwatson * This code is distributed in the hope that it will be useful, but WITHOUT 10162271Srwatson * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11162271Srwatson * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12162271Srwatson * version 2 for more details (a copy is included in the LICENSE file that 13162271Srwatson * accompanied this code). 14162271Srwatson * 15162271Srwatson * You should have received a copy of the GNU General Public License version 16162271Srwatson * 2 along with this work; if not, write to the Free Software Foundation, 17162271Srwatson * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18162271Srwatson * 19162271Srwatson * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20162271Srwatson * or visit www.oracle.com if you need additional information or have any 21162271Srwatson * questions. 22162271Srwatson */ 23162271Srwatsonpackage org.graalvm.compiler.core; 24162271Srwatson 25162271Srwatsonimport org.graalvm.compiler.options.Option; 26162271Srwatsonimport org.graalvm.compiler.options.OptionType; 27162271Srwatsonimport org.graalvm.compiler.options.OptionValue; 28162271Srwatson 29162271Srwatson/** 30162271Srwatson * Options related to {@link GraalCompiler}. 31162271Srwatson */ 32162271Srwatsonpublic class GraalCompilerOptions { 33162271Srwatson 34172106Srwatson // @formatter:off 35162271Srwatson @Option(help = "Repeatedly run the LIR code generation pass to improve statistical profiling results.", type = OptionType.Debug) 36162271Srwatson public static final OptionValue<Integer> EmitLIRRepeatCount = new OptionValue<>(0); 37162271Srwatson @Option(help = "", type = OptionType.Debug) 38162271Srwatson public static final OptionValue<String> PrintFilter = new OptionValue<>(null); 39162271Srwatson @Option(help = "", type = OptionType.Debug) 40162271Srwatson public static final OptionValue<Boolean> PrintCompilation = new OptionValue<>(false); 41162271Srwatson @Option(help = "", type = OptionType.Debug) 42162271Srwatson public static final OptionValue<Boolean> PrintAfterCompilation = new OptionValue<>(false); 43162271Srwatson @Option(help = "", type = OptionType.Debug) 44162271Srwatson public static final OptionValue<Boolean> PrintBailout = new OptionValue<>(false); 45162271Srwatson @Option(help = "", type = OptionType.Debug) 46162271Srwatson public static final OptionValue<Boolean> ExitVMOnBailout = new OptionValue<>(false); 47172106Srwatson @Option(help = "", type = OptionType.Debug) 48172106Srwatson public static final OptionValue<Boolean> ExitVMOnException = new OptionValue<>(false); 49172106Srwatson @Option(help = "", type = OptionType.Debug) 50172106Srwatson public static final OptionValue<Boolean> PrintStackTraceOnException = new OptionValue<>(false); 51172106Srwatson // @formatter:on 52172106Srwatson 53172106Srwatson} 54172106Srwatson