RFR: 8312495: assert(0 <= i && i < _len) failed: illegal index after JDK-8287061 on big endian platforms

Vladimir Kozlov kvn at openjdk.org
Fri Jul 21 22:29:39 UTC 2023


On Fri, 21 Jul 2023 22:13:09 GMT, Dean Long <dlong at openjdk.org> wrote:

> How about introducing something like `jint Value::get_jint()` that can be used in place of this error-prone pattern?

And may be rename current method `get_int()` to `get_intptr()` to match type of return value.

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

PR Comment: https://git.openjdk.org/jdk/pull/14976#issuecomment-1646298211


More information about the hotspot-compiler-dev mailing list