Introduce helper function to clamp value to range

XMLWordPrintable

    • gc
    • b25

      In the hotspot code base there are a few places where a value is clamped to a particular range using MIN2(MAX2()) or similar.

      A specialized method for doing that would be nice, particularly because future changes will add more places when it will be used.

            Assignee:
            Thomas Schatzl
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: