RFR: 8227713: Convert G1's assert_ macros into NOT_DEBUG_RETURN functions [v6]
Lei Zaakjyu
duke at openjdk.org
Sat Dec 23 02:58:13 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:
make 'assert_used_and_recalculate_used_equal' into a member function
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17188/files
- new: https://git.openjdk.org/jdk/pull/17188/files/75f30104..8133b558
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17188&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17188&range=04-05
Stats: 8 lines in 5 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