RFR: 8267908: linux: thread_native_entry can scribble on stack frame

Xin Liu xliu at openjdk.java.net
Tue Jun 8 05:59:15 UTC 2021


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.

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

PR: https://git.openjdk.java.net/jdk/pull/4407


More information about the hotspot-runtime-dev mailing list