Replace vmassert constexpr detection with std::is_constant_evaluated

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 21
    • Component/s: hotspot

      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.

            Assignee:
            Unassigned
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: