RFR: 8361842: Move input validation checks to Java for java.lang.StringCoding intrinsics [v8]

John R Rose jrose at openjdk.org
Sat Jul 19 06:25:46 UTC 2025


On Fri, 18 Jul 2025 23:18:16 GMT, John R Rose <jrose at openjdk.org> wrote:

> If (as in this case) IC2 loops over calls to IC1
Correction; I meant IC1 calls IC2, in a loop, N times.  We don't want a pre-loop in M1 that checks each of N distinct arguments to IC2 (like N calls to M2 would), but rather a batch check routine which checks all of the arguments to IC2, in O(1) time.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25998#issuecomment-3091934621


More information about the graal-dev mailing list