Skip to content

Commit

Permalink
[GR-53003] Remove -H:-ParseRuntimeOptions for SpecJVM2008
Browse files Browse the repository at this point in the history
  • Loading branch information
liufengyun committed Apr 2, 2024
1 parent e297801 commit ba2d8b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions substratevm/mx.substratevm/mx_substratevm_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,9 +690,8 @@ def extra_profile_run_arg(self, benchmark, args, image_run_args, should_strip_ru
return super().extra_profile_run_arg(benchmark, args, image_run_args, should_strip_run_args) + SpecJVM2008NativeImageBenchmarkSuite.short_run_args

def extra_image_build_argument(self, benchmark, args):
# Don't wrap the option `-H:-ParseRuntimeOptions` with `mx_sdk_vm_impl.svm_experimental_options`, as all args are wrapped already.
# The reason to add `-H:CompilationExpirationPeriod` is that we encounter non-deterministic compiler crash due to expiration (GR-50701).
return super().extra_image_build_argument(benchmark, args) + ['-H:-ParseRuntimeOptions', '-H:CompilationExpirationPeriod=600']
return super().extra_image_build_argument(benchmark, args) + ['-H:CompilationExpirationPeriod=600']

def extra_run_arg(self, benchmark, args, image_run_args):
return super().extra_run_arg(benchmark, args, image_run_args) + SpecJVM2008NativeImageBenchmarkSuite.long_run_args
Expand Down

0 comments on commit ba2d8b9

Please sign in to comment.