RFR: 8227713: Convert G1's assert_ macros into NOT_DEBUG_RETURN functions [v5]
Lei Zaakjyu
duke at openjdk.org
Sat Dec 23 02:34:15 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:
use 'ASSERT' and fix include statement
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/17188/files
- new: https://git.openjdk.org/jdk/pull/17188/files/6a18b094..75f30104
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=17188&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=17188&range=03-04
Stats: 17 lines in 2 files changed: 0 ins; 7 del; 10 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