RFR: 8241613: Suspicious calls to MacroAssembler::null_check(Register, offset)
David Holmes
dholmes at openjdk.org
Thu Mar 16 02:48:26 UTC 2023
On Wed, 15 Mar 2023 18:06:52 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> Using null arrays will not trigger the removed null checks and will fail by NullPointerException or ArrayIndexOutofBoundsException later.
That is all I wanted to verify: that we have tests, which use "null" for the array, which will exercise these code blocks and which behave the same both with and without the `null_check` calls. Thanks.
-------------
PR: https://git.openjdk.org/jdk/pull/13026
More information about the hotspot-runtime-dev
mailing list