RFR: 8337783: Use THROW_NULL instead of THROW_0 in pointer contexts in misc runtime code

Stefan Karlsson stefank at openjdk.org
Mon Aug 5 07:04:32 UTC 2024


On Sat, 3 Aug 2024 23:41:48 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial change that, in misc. runtime code where a pointer
> value is required, replaces uses of THROW_0 and THROW_MSG_0 with THROW_NULL
> and THROW_MSG_NULL respectively.
> 
> Testing: mach5 tier1

Looks good.

I saw at least one instance of THROW_ARG_0, which returns 0. Do you intend to fix that as a separate change?

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

Marked as reviewed by stefank (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20457#pullrequestreview-2218186045


More information about the hotspot-dev mailing list