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

Hashtable literal_size functions are broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 17, 18
    • 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.

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

              Created:
              Updated:
              Resolved: