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

Change byte_size to return size_t

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • None
    • hotspot
    • b19

    Description

      All callers of `byte_size` expect `size_t`. Change its implementation to use pointer_delta, which has built-in checks for to >= from.

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: