RFR: 8288534: Out of bound errors for memory segment access mentions wrong values

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Jun 16 09:55:19 UTC 2022


On Wed, 15 Jun 2022 22:00:22 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> I would expect passing an non-constant exception mapper should work. The C2 intrinsic never accesses the exception mapper argument, and a range check failure results in a deoptimzation back to the interpreter from which the exception mapper is then operated on. However, i think its worth just double checking generated code.

Both @iwanowww and @rwestrel have confirmed that that should be indeed the case. I did some test with PrintInlining with seemed to show the method as correctly inlined. For extra safety I will run all memory access benchmarks, and compare before/after.

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

PR: https://git.openjdk.org/jdk19/pull/24


More information about the core-libs-dev mailing list