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

Vladimir Kozlov kvn at openjdk.org
Thu Nov 17 16:58:20 UTC 2022


On Thu, 3 Nov 2022 11:05:37 GMT, Andrew Haley <aph 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?

I am fine with enabling it for debug VM. But can you give at least some numbers?

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

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


More information about the hotspot-dev mailing list