RFR: 8302189: Mark assertion failures noreturn

Kim Barrett kbarrett at openjdk.org
Fri Mar 3 04:21:06 UTC 2023


On Fri, 3 Mar 2023 04:04:25 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Also 8302799: Refactor Debugging variable usage for noreturn crash reporting

make/hotspot/lib/CompileJvm.gmk line 103:

> 101: DISABLED_WARNINGS_xlc := tautological-compare shift-negative-value
> 102: 
> 103: DISABLED_WARNINGS_microsoft := 4624 4244 4291 4146 4127 4722

I forgot to mention this in the PR summary.  New warning suppression for
4722: 'function' : destructor never returns, potential memory leak
We have various destructors calling ShouldNotCallThis, ShouldNotReachHere,
or the like, which triggers this warning.  It might be possible to deal with
some (but not all) of those by deleting the destructor.  The warning doesn't
seem all that useful to us, so I just suppressed it.

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

PR: https://git.openjdk.org/jdk/pull/12845



More information about the build-dev mailing list