[jdk21u-dev] RFR: 8333887: ubsan: unsafe.cpp:247:13: runtime error: store to null pointer of type 'volatile int' [v2]

luwang1103 duke at openjdk.org
Fri Jul 12 10:00:56 UTC 2024


On Fri, 12 Jul 2024 09:02:27 GMT, luwang1103 <duke at openjdk.org> wrote:

>> hi @shipilev ,
>> 
>> This pull request contains a backport of commit [0d3a3771](https://git.openjdk.org/jdk/commit/0d3a3771c3777d3dd1fec8dc8faed5fd02b06830) from the [master](https://github.com/openjdk/jdk) repository.
>> 
>> The commit being backported was authored by Matthias Baesken on 13 Jun 2024.
>> 
>> Thanks!
>
> luwang1103 has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Backport 0d3a3771c3777d3dd1fec8dc8faed5fd02b06830

> Hm, where is copyright header update comes from? This is confusing...
> 
> To be extra clear, this PR should be exactly like the upstream change: [openjdk/jdk at 0d3a377](https://github.com/openjdk/jdk/commit/0d3a3771c3777d3dd1fec8dc8faed5fd02b06830), unless there is a good reason to deviate. The indentation is still not fixed, AFAICS. How do you do the backports? Picking up and applying the full changsets, or making the patch by hand?

In the [master](https://github.com/openjdk/jdk) repository, there are other modifications to [unsafe.cpp](https://github.com/openjdk/jdk/commits/master/src/hotspot/share/prims/unsafe.cpp ).  Other modifications do not belong to this bug. What should I do next? This is my first time submitting code, and there are many areas that I am currently studying. Thank you for your guidance.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/837#issuecomment-2225236269


More information about the jdk-updates-dev mailing list