RFR: JDK-8294902: Undefined Behavior in C2 regalloc with null references

Andrew Haley aph at openjdk.org
Thu Nov 3 11:17:49 UTC 2022


On Tue, 1 Nov 2022 17:43:55 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Changes are good. Can you tell more about `-fsanitize=null` effect on libjvm size and performance of fastdebug build we use in testing? If it is only few percents I am for enabling it in debug build.

It might be a bit more than that: it's a test-and-branch on every memory access.
Maybe enable it only on a non-optimized build?

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

PR: https://git.openjdk.org/jdk/pull/10920


More information about the hotspot-dev mailing list