Skip to content

Disable opts under -Xtune:throughput - #7928

Merged
vijaysun-omr merged 1 commit into
eclipse-omr:masterfrom
0xdaryl:tunethroughputdisable
Sep 12, 2025
Merged

Disable opts under -Xtune:throughput#7928
vijaysun-omr merged 1 commit into
eclipse-omr:masterfrom
0xdaryl:tunethroughputdisable

Conversation

@0xdaryl

@0xdaryl 0xdaryl commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

Certain optimizations may work against overall throughput goals because the transformations may yield artifacts (e.g., stack local objects, increased internal pointers usage) that put pressure on method prologues for applications that may have large acyclic methods and reach higher optimization levels. In addition, they have the potential to create improper regions which inhibit other throughput-focused optimizations.

The guarded optimizations are:

  • loop strider
  • loop replicator
  • escape analysis
  • loop transfer

@0xdaryl

0xdaryl commented Sep 11, 2025

Copy link
Copy Markdown
Contributor Author

Jenkins build all

This contribution is wholly within an existing J9 #ifdefed block, so CI testing won't reveal anything.

@0xdaryl

0xdaryl commented Sep 11, 2025

Copy link
Copy Markdown
Contributor Author

@vijaysun-omr : please review

@vijaysun-omr

Copy link
Copy Markdown
Contributor

Simple enough, but will ask for review from @mpirvu

@vijaysun-omr

Copy link
Copy Markdown
Contributor

fyi @hzongaro

@mpirvu

mpirvu commented Sep 11, 2025

Copy link
Copy Markdown
Contributor

I think it's worth adding a comment, both in the commit description and in the code, saying why we are doing this.

Certain optimizations may work against overall throughput goals because the
transformations may yield artifacts (e.g., stack local objects, increased
internal pointers usage) that put pressure on method prologues for applications
that may have large acyclic methods and reach higher optimization levels.  In
addition, they have the potential to create improper regions which inhibit
other throughput-focused optimizations.

The guarded optimizations are:

* loop strider
* loop replicator
* escape analysis
* loop transfer

Signed-off-by: Daryl Maier <maier@ca.ibm.com>
@0xdaryl
0xdaryl force-pushed the tunethroughputdisable branch from f8b992f to 32aebc9 Compare September 12, 2025 11:56
@0xdaryl

0xdaryl commented Sep 12, 2025

Copy link
Copy Markdown
Contributor Author

Updated comment only. Re-running CI is not necessary.

@mpirvu mpirvu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vijaysun-omr

Copy link
Copy Markdown
Contributor

Only the commit message changed, so I won't run tests again.

@vijaysun-omr
vijaysun-omr merged commit f448108 into eclipse-omr:master Sep 12, 2025
2 checks passed
@0xdaryl

0xdaryl commented Sep 12, 2025

Copy link
Copy Markdown
Contributor Author

To be clear, I added a comment in the code and updated the commit message. CI wasn't necessary for either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants