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

Improve documentation for ConcurrentHashMap serialized form

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • None
    • core-libs

    Description

      ConcurrentHashMap's serialized pseudo fields should be documented.

      + * Serialized pseudo-fields, provided only for jdk7 compatibility.
      + * @serialField segments Segment[]
      + * The segments, each of which is a specialized hash table.
      + * @serialField segmentMask int
      + * Mask value for indexing into segments. The upper bits of a
      + * key's hash code are used to choose the segment.
      + * @serialField segmentShift int
      + * Shift value for indexing within segments.

      Attachments

        Activity

          People

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: