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

Improve documentation for ConcurrentHashMap serialized form

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      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

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

              Dates

              Created:
              Updated:
              Resolved: