Skip to content

Commit

Permalink
Checkstyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-spas committed Oct 27, 2022
1 parent bf250c7 commit 22c731b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vm/mx.vm/mx_vm_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ def run_stage_instrument_image(self, config, stages, out, i, instrumentation_ima
pgo_args = ['--pgo=' + config.latest_profile_path]
pgo_args += ['-H:' + ('+' if self.pgo_context_sensitive else '-') + 'PGOContextSensitivityEnabled']
pgo_args += ['-H:+AOTInliner'] if self.pgo_aot_inline else ['-H:-AOTInliner']
# GR-40154 --pgo-sampling does not work with G1 for some reason
# GR-40154 --pgo-sampling does not work with G1
if self.gc == 'G1':
instrument_args = ['--pgo-instrument'] + ([] if i == 0 else pgo_args)
else:
Expand All @@ -835,7 +835,7 @@ def run_stage_instrument_image(self, config, stages, out, i, instrumentation_ima
out('Instrumented image size: ' + str(image_size) + ' B')

def _ensureSamplesAreInProfile(self, profile_path):
# GR-40154 --pgo-sampling does not work with G1 for some reason
# GR-40154 --pgo-sampling does not work with G1
if self.pgo_aot_inline and self.gc != 'G1':
with open(profile_path) as profile_file:
parsed = json.load(profile_file)
Expand Down

0 comments on commit 22c731b

Please sign in to comment.