RFR: 8227713: Convert G1's assert_ macros into NOT_DEBUG_RETURN functions [v3]

Lei Zaakjyu duke at openjdk.org
Sat Dec 23 01:58:18 UTC 2023


> Description:
> In G1CollectedHeap there are several "assert_*" macros (e.g. assert_heap_locked_and_not_at_safepoint) that were presumably implemented as macros due to bad stack traces in hs_err files. 
> 
> Convert them to functions using NOT_DEBUG_RETURN to avoid the macros.

Lei Zaakjyu has updated the pull request incrementally with one additional commit since the last revision:

  fix

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17188/files
  - new: https://git.openjdk.org/jdk/pull/17188/files/cf5ccce8..17294833

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

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

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


More information about the hotspot-gc-dev mailing list