RFR: 8367129: Move input validation checks to Java for java.lang.StringLatin1 intrinsics [v4]
Volkan Yazici
vyazici at openjdk.org
Fri Feb 13 18:20:11 UTC 2026
On Fri, 13 Feb 2026 06:59:43 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>>> Is there a HotSpot specific namespace qualifier that can make it easier to cross reference this?
>>
>> @RogerRiggs, not that I know of. I also considered following alternatives:
>>
>> - `library_call.cpp:inline_string_equals`
>> - `vmIntrinsics::_compressStringB`
>>
>> But none really qualifies as a programmatic reference and settled on `inline_string_equals`, the most convenient phrase to do find-and-jump.
>>
>> @dafedafe, @TobiHartmann, do you have any suggestions/preferences?
>
> I think `vmIntrinsics::_equalsL` would be the best option here.
Adapted `vmIntrinsics::`-prefixed references in 9bb6cdee9cb.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28832#discussion_r2804547249
More information about the core-libs-dev
mailing list