Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8303797

Replace vmassert constexpr detection with std::is_constant_evaluated

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 21
    • 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.

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

              Created:
              Updated:
              Resolved: