Hashtable literal_size functions are broken

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: 17, 18
    • Component/s: hotspot
    • b21

      The literal_size functions are used to estimate the size of held objects in some of our hashtables.

      Two bugs:
      1) They return int, but the returned value is in bytes and could be larger than MAX_INT.
      2) Non-String objects report words instead of bytes.

            Assignee:
            Stefan Karlsson
            Reporter:
            Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: