@@ -59,8 +59,10 @@ profile.add_argument('-gb', '--graal-branch-profile', help='enable Graal-level b
59
59
dest = 'graal_branch_profile' , action = 'store_true' , default = False )
60
60
profile .add_argument ('-tp' , '--truffle-profile' , help = 'enable Graal-level profiling after warmup' ,
61
61
dest = 'truffle_profile' , action = 'store_true' , default = False )
62
- explore .add_argument ('-v' , '--visual-vm' , help = 'connect to VisualVM for profiling' ,
62
+ profile .add_argument ('-v' , '--visual-vm' , help = 'connect to VisualVM for profiling' ,
63
63
dest = 'visual_vm' , action = 'store_true' , default = False )
64
+ profile .add_argument ('-fr' , '--flight-recorder' , help = 'profile with Java Flight Recorder' ,
65
+ dest = 'flight_recorder' , action = 'store_true' , default = False )
64
66
65
67
tools = parser .add_argument_group ('Tools for various purposes' )
66
68
tools .add_argument ('-n' , '--node-stats' , help = 'collect details about AST nodes. Optionally define output file name. Default: node-stats.yml' ,
@@ -74,8 +76,7 @@ tools.add_argument('-ct', '--coverage-type', help="human readable 'histogram' (p
74
76
tools .add_argument ('-cs' , '--cpu-sampler' , help = 'Truffle CPU Sampler. [CPUSAMPLE] can be one of histogram, calltree, json' ,
75
77
dest = 'cpusampler' , action = 'store' , nargs = '?' ,
76
78
const = 'histogram' , default = False )
77
- tools .add_argument ('-fr' , '--flight-recorder' , help = 'profile with Java Flight Recorder' ,
78
- dest = 'flight_recorder' , action = 'store_true' , default = False )
79
+
79
80
80
81
81
82
parser .add_argument ('-A' , '--no-assert' , help = 'execute with assertions disabled' ,
@@ -366,8 +367,7 @@ if not args.interpreter and args.graal_branch_profile:
366
367
'-Dpolyglot.engine.InstrumentBranchesPerInlineSite=true' ]
367
368
368
369
if not args .interpreter and args .perf_warnings :
369
- flags += ['-Dpolyglot.engine.CompilationFailureAction=ExitVM' ,
370
- '-Dpolyglot.engine.TracePerformanceWarnings=all' ,
370
+ flags += ['-Dpolyglot.engine.TracePerformanceWarnings=all' ,
371
371
'-Dpolyglot.engine.TraceCompilation=true' ,
372
372
'-Dpolyglot.engine.TraceCompilationDetails=true' ]
373
373
if not args .interpreter and args .trace_invalidation :
0 commit comments