Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update z/TPF code cache strategy #17555

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

jjohnst-us
Copy link
Contributor

Pull request represents z/TPF OS platform specific updates to code cache strategy.

z/TPF has a second 64-bit heap region managed by the mmap function which allows Java processes to work better with traditional non-java applications. The update enables processes to detect whether the feature is enabled and to allocate the JIT code cache from it based on a heuristic meaningful only to z/TPF. The fallback is to use the other pre-existing 64-bit heap reagion limited by a MAXXMMES system heap configuration unique to the z/TPF platform.

@pshipton
Copy link
Member

pshipton commented Jun 8, 2023

@0xdaryl pls help find a reviewer for this.

@jjohnst-us
Copy link
Contributor Author

If it makes it easier, all the updates are within z/TPF guard macros and have been running for 2 years.

@jjohnst-us
Copy link
Contributor Author

@0xdaryl
Hey Daryl, just my periodic shoulder tap, when you get a chance to take a look at this PR.

Much appreciated.

@0xdaryl
Copy link
Contributor

0xdaryl commented Jul 10, 2023

Jenkins test sanity xlinux jdk17

Changes are guarded with ifdefs that OpenJ9 testing does not enable so light sanity testing seems sufficient.

@0xdaryl 0xdaryl self-assigned this Jul 10, 2023
@0xdaryl
Copy link
Contributor

0xdaryl commented Jul 10, 2023

@mpirvu : this PR introduces changes to the zTPF code cache allocation that are all guarded behind zTPF ifdefs. In spite of that, do you have any comments you want to make prior to merging?

@jjohnst-us jjohnst-us force-pushed the zTPFJITconfigUpdate branch from 676be9a to be9f349 Compare July 24, 2023 15:45
@jjohnst-us
Copy link
Contributor Author

@mpirvu @0xdaryl

Requested changes applied, is there anything else? Thanks!

@0xdaryl
Copy link
Contributor

0xdaryl commented Oct 19, 2023

@mpirvu : if you approve, I'll launch some light testing on this.

Copy link
Contributor

@mpirvu mpirvu left a comment

Choose a reason for hiding this comment

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

LGTM

@0xdaryl
Copy link
Contributor

0xdaryl commented Oct 23, 2023

Jenkins test sanity zlinux jdk17

@0xdaryl 0xdaryl merged commit 5454302 into eclipse-openj9:master Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants