-
Notifications
You must be signed in to change notification settings - Fork 729
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
Add comments to JIT recognized methods for encoding/decoding #20864
base: master
Are you sure you want to change the base?
Conversation
This commit adds comments to some encoding/decoding methods that are recognized by the JIT. Only limited Java versions use these methods.
See PR #20520 for the background. |
Jenkins compile xlinux jdk11 |
{x(TR::sun_nio_cs_ISO_8859_1_Decoder_decodeISO8859_1, "decodeISO8859_1", "([BII[CI)I")}, // Used in IBM SDK | ||
{x(TR::sun_nio_cs_US_ASCII_Encoder_encodeASCII, "encodeASCII", "([CII[BI)I")}, // Used in Java 8 and 11 | ||
{x(TR::sun_nio_cs_US_ASCII_Decoder_decodeASCII, "decodeASCII", "([BII[CI)I")}, // Used in Java 8 and 11 | ||
{x(TR::sun_nio_cs_ext_SBCS_Encoder_encodeSBCS, "encodeSBCS", "([CII[BI[B)I")}, // Used in IBM SDK | ||
{x(TR::sun_nio_cs_ext_SBCS_Decoder_decodeSBCS, "decodeSBCS", "([BII[CI[C)I")}, // Used in IBM SDK | ||
{x(TR::sun_nio_cs_UTF_8_Encoder_encodeUTF_8, "encodeUTF_8", "([CII[BI)I")}, // Used in IBM SDK | ||
{x(TR::sun_nio_cs_UTF_8_Decoder_decodeUTF_8, "decodeUTF_8", "([BII[CI)I")}, // Used in IBM SDK | ||
{x(TR::sun_nio_cs_UTF16_Encoder_encodeUTF16Big, "encodeUTF16Big", "([CII[BI)I")}, // Used in IBM SDK | ||
{x(TR::sun_nio_cs_UTF16_Encoder_encodeUTF16Little, "encodeUTF16Little", "([CII[BI)I")}, // Used in IBM SDK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do agree. As most of these methods shipped as in JCL in IBM SDK 8. It should be present on all platforms though (It is a different story if platform recognize and accelerates it or not).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So what kind of changes do you want me to make?
Updating the comment "Used in IBM SDK" to "Used in IBM SDK Java 8"?
This commit adds comments to some encoding/decoding methods that are recognized by the JIT.
Only limited Java versions use these methods.