On Tue, 13 Dec 2022 16:29:59 GMT, Justin King <[email protected]> wrote:
> I guess the advantage to putting this in the build machinery (as opposed to
> using `--with-extra-cflags=-fsanitize=undefined
> --with-extra-ldflags=-fsanitize=undefined`) is that we can turn some of these
> onn by default once we've fixed each category of UB. Is that right?
It will take a while, look a bit on align issue, we have so much code which go
from pointer to large -> small -> large, e.g.
address addr = data() + offset;
return (ImmutableOopMap*) addr;
In this case data() needs to return something with the same alignment as a ptr
and offset must be in even in ptr steps.
-------------
PR: https://git.openjdk.org/jdk/pull/11604