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

Vladimir Kozlov kvn at openjdk.org
Tue Nov 29 17:28:38 UTC 2022


On Wed, 23 Nov 2022 10:54:27 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?
>
>> > > 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?
> 
> Sorry I'm being slow on this. I'm trying to get scoped values done before the fork.

@theRealAph you may defer it to next release (`tbd`) since you don't have time to work on this.

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

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


More information about the hotspot-dev mailing list