RFR: 8255082: HotSpot Style Guide should permit noexcept [v2]

Kim Barrett kbarrett at openjdk.org
Mon Jun 2 08:21:34 UTC 2025


> Please review this change to permit the use of `noexcept` under certain
> circumstances in HotSpot code.
> 
> http://wg21.link/n3050
> 
> Testing:
> 
> JDK-8316930 (HotSpot should use noexcept instead of throw()) showed what the
> conversion would look like. It will need to be brought up to current mainline,
> possibly with modifications.
> 
> This is a modification of the Style Guide, so rough consensus among the
> HotSpot Group members is required to make this change. Only Group members
> should vote for approval (via the github PR), though reasoned objections or
> comments from anyone will be considered. A decision on this proposal will not
> be made before Friday 16-June-2025 at 12h00 UTC.
> 
> Since we're piggybacking on github PRs here, please use the PR review process
> to approve (click on Review Changes > Approve), rather than sending a "vote:
> yes" email reply that would be normal for a CFV.

Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:

  dholmes review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25574/files
  - new: https://git.openjdk.org/jdk/pull/25574/files/6364b3d4..e6decd1f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25574&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25574&range=00-01

  Stats: 8 lines in 2 files changed: 1 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/25574.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25574/head:pull/25574

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


More information about the hotspot-dev mailing list