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

Hashtable literal_size functions are broken

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • hotspot
    • None
    • b21

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: