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

Improve documentation for ConcurrentHashMap serialized form

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: