3838import org .graalvm .options .OptionDescriptor ;
3939import org .graalvm .options .OptionDescriptors ;
4040import org .graalvm .options .OptionKey ;
41+ import org .graalvm .options .OptionStability ;
4142import org .graalvm .options .OptionValues ;
4243
4344/**
@@ -56,7 +57,7 @@ public class FastROptions {
5657
5758 @ Option (category = OptionCategory .INTERNAL , help = "Prints Java and R stack traces for all errors" ) //
5859 public static final OptionKey <Boolean > PrintErrorStacktraces = new OptionKey <>(false );
59- @ Option (category = OptionCategory .USER , help = "Dumps Java and R stack traces to 'fastr_errors.log' for all errors" ) //
60+ @ Option (category = OptionCategory .USER , stability = OptionStability . STABLE , help = "Dumps Java and R stack traces to 'fastr_errors-{context ID}_{PID} .log' for all internal errors" ) //
6061 public static final OptionKey <Boolean > PrintErrorStacktracesToFile = new OptionKey <>(false );
6162
6263 @ Option (category = OptionCategory .INTERNAL , help = "Debug=name1,name2,...; Turn on debugging output for 'name1', 'name2', etc." )//
@@ -83,7 +84,7 @@ public class FastROptions {
8384 public static final OptionKey <Boolean > SearchPathForcePromises = new OptionKey <>(false );
8485 @ Option (category = OptionCategory .EXPERT , help = "Load native code of packages, including builtin packages." ) //
8586 public static final OptionKey <Boolean > LoadPackagesNativeCode = new OptionKey <>(!FastRConfig .ManagedMode );
86- @ Option (category = OptionCategory .EXPERT , help = "Allow only one thread to enter packages' native code" ) //
87+ @ Option (category = OptionCategory .EXPERT , help = "Allow only one thread to enter native code of packages " ) //
8788 public static final OptionKey <Boolean > SynchronizeNativeCode = new OptionKey <>(true );
8889 // Promises optimizations
8990 @ Option (category = OptionCategory .INTERNAL , help = "If enabled, overrides all other EagerEval switches (see EagerEvalHelper)" ) //
@@ -114,9 +115,9 @@ public class FastROptions {
114115 // Dicontinued since rc12
115116 // only a warning is printed to use the default logger mechaninsm
116117 // TODO remove at some later point
117- @ Option (category = OptionCategory .INTERNAL , help = "Print FastR performance warning" ) //
118+ @ Option (category = OptionCategory .EXPERT , help = "Print FastR performance warning" ) //
118119 public static final OptionKey <Boolean > PerformanceWarnings = new OptionKey <>(false );
119- @ Option (category = OptionCategory .INTERNAL , help = "Print a message for each non-trivial variable lookup" )//
120+ @ Option (category = OptionCategory .EXPERT , help = "Print a message for each non-trivial variable lookup" )//
120121 public static final OptionKey <Boolean > PrintComplexLookups = new OptionKey <>(false );
121122 @ Option (category = OptionCategory .INTERNAL , help = "Trace all R function calls" ) //
122123 public static final OptionKey <Boolean > TraceCalls = new OptionKey <>(false );
0 commit comments