Skip to content

make ort jdk java options configurable#49

Merged
tsteenbe merged 2 commits intooss-review-toolkit:mainfrom
bennotieno:override-ort-jdk-options
Feb 24, 2026
Merged

make ort jdk java options configurable#49
tsteenbe merged 2 commits intooss-review-toolkit:mainfrom
bennotieno:override-ort-jdk-options

Conversation

@bennotieno
Copy link
Contributor

At the moment the java jdk options are hardcoded to -Xmx5120m. This change makes that configuration flexible and allows for some performance tuning. It will default to -Xmx5120m as previously set.

Please ensure that your pull request adheres to our contribution guidelines. Thank you!

@bennotieno bennotieno requested a review from tsteenbe as a code owner February 14, 2026 10:35
Signed-off-by: Benn Otieno <benn.otieno@aleph-alpha.com>
@bennotieno bennotieno force-pushed the override-ort-jdk-options branch from 269a7c7 to 4c1df3a Compare February 14, 2026 10:41
Copy link
Member

@tsteenbe tsteenbe left a comment

Choose a reason for hiding this comment

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

@bennotieno FYI I am working on overhaul of this action based on my recent work on Forgejo Action for ORT - introducing a new mode without Docker and adding a lot more tests

action.yml Outdated
Project version number or release name (use the version from package metadata, not VCS revision).
By default, the Git short SHA is used.
required: false
ort-jdk-java-options:
Copy link
Member

Choose a reason for hiding this comment

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

@bennotieno The parameters are sorted alphabetically, would you mind moving this up.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Signed-off-by: Benn Otieno <benn.otieno@aleph-alpha.com>
@bennotieno
Copy link
Contributor Author

@bennotieno FYI I am working on overhaul of this action based on my recent work on Forgejo Action for ORT - introducing a new mode without Docker and adding a lot more tests

Hi @tsteenbe, nice to know, so what's the plan with this action? Will it be archived in favour of the Forgejo Action?

@tsteenbe tsteenbe merged commit 62e59b4 into oss-review-toolkit:main Feb 24, 2026
1 check passed
@tsteenbe
Copy link
Member

Hi @tsteenbe, nice to know, so what's the plan with this action? Will it be archived in favour of the Forgejo Action?
@bennotieno No it will be an update to this action, think of it a v2.0 of this action that will support both the current Docker setup and a new setup that uses the ORT release archive (non-docker) which is faster and lighter but you will need to install all package managers you want to analyze

@bennotieno bennotieno deleted the override-ort-jdk-options branch February 25, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants