On Thu, 20 Nov 2025 16:25:50 GMT, ExE Boss <[email protected]> wrote:

>> These generate similar code (`test` vs `cmp` on x64)
>
> No because `check` can be negative:
> https://github.com/openjdk/jdk/blob/c51f542914955d0034b18be7e5d40ae97e93baca/src/java.base/share/classes/sun/invoke/util/BytecodeDescriptor.java#L164

Indeed as ExE-Boss pointed out, I unfortunately have to use this 32 
CHECK_OFFSET so all the illegal character fall in the 64-bit range of 32 to 95, 
mainly due to `[`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28079#discussion_r2546860226

Reply via email to