Withdrawn: 8294460: CodeSection::alignment checks for CodeBuffer::SECT_STUBS incorrectly
Aleksey Shipilev
shade at openjdk.org
Tue Sep 27 13:35:29 UTC 2022
On Tue, 27 Sep 2022 13:11:01 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Code added in `CodeSection::alignment` by [JDK-8287373](https://bugs.openjdk.org/browse/JDK-8287373) triggers `-Wint-in-bool-context` warning on GCC (currently globally ignored), due to apparent bug.
>
> The bug seems innocuous now, as the branch is always taken, and the method checks for the rest of section types exhaustively. But, it would not go to `ShouldNotReachHere` if we pass e.g. `SECT_NONE` into the method.
>
> Attention @bulasevich.
>
> Additional testing:
> - [ ] Linux x86_64 fastdebug tier1
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/10450
More information about the hotspot-compiler-dev
mailing list