RFR: 8338158: Cleanup ShouldNotXXX uses in machnode.cpp

Kim Barrett kbarrett at openjdk.org
Tue Aug 13 06:37:49 UTC 2024


On Mon, 12 Aug 2024 07:52:22 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:

> Looks good! Just a general question, will you update `fatal()` uses in a separate RFE?

I'm not planning to.  There are lots and lots of these sorts of things for ShouldNotXXX, fatal(), &etc.
I only did these because I was touching some to eliminate -Wzero-as-null-pointer-constant warnings,
and there were few enough it was still a relatively small change.  Also there was already inconstency
of usage in this one file.  I suggest just similarly cleaning these up as code is being touched for other
reasons.

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

PR Comment: https://git.openjdk.org/jdk/pull/20540#issuecomment-2285443478


More information about the hotspot-compiler-dev mailing list