RFR: 8267908: linux: thread_native_entry can scribble on stack frame
David Holmes
david.holmes at oracle.com
Tue Jun 8 06:18:21 UTC 2021
On 8/06/2021 3:59 pm, Xin Liu wrote:
> On Tue, 8 Jun 2021 02:02:55 GMT, David Holmes <dholmes at openjdk.org> wrote:
>
>> Please review this trivial fix to ensure we do not try to alloca zero bytes.
>>
>> Thanks,
>> David
>
> When random is 1, that store is still safe because c++ std says sizeof char is 1.
The issue was random being zero.
Cheers,
David
> -------------
>
> PR: https://git.openjdk.java.net/jdk/pull/4407
>
More information about the hotspot-runtime-dev
mailing list