vmassert and friends make use of compiler intrinsics (if available) to detect evaluation in a constexpr context. Once we're using C++20 we can instead use std::is_constant_evaluated for that purpose.
- relates to
-
JDK-8302189 Mark assertion failures noreturn
- Resolved