Skip to content

(0.44) Recognize StringCoding.implEncodeAsciiArray() as a converter method #19040

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

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

dchopra001
Copy link
Contributor

@dchopra001 dchopra001 commented Feb 28, 2024

implEncodeAsciiArray is equivalent to Java 11's US_ASCII.encodeASCII converter method. Acceleration
for this routine was added in OMR PR 7271. This commit introduces this API and enables the acceleration the JIT compiler.

Double delivery of #18983 and #19025
Related to eclipse-openj9/openj9-omr#199

implEncodeAsciiArray is equivalent to Java 11's
US_ASCII.encodeASCII converter method. Acceleration
for this routine will be added in OMR PR 7271. This
commit introduces this API to the JIT compiler.
This commit recognizes StringCoding.implEncodeAsciiArray() as a
converter method in the JIT, thus enabling calls to the routine
to be inlined into arraytranslate nodes.
@pshipton
Copy link
Member

pshipton commented Mar 1, 2024

@dsouzai hopefully you are ok to merge this. I've already merged eclipse-openj9/openj9-omr#199

@dsouzai dsouzai merged commit 7c701a7 into eclipse-openj9:v0.44.0-release Mar 1, 2024
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.

3 participants