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

Parallel: Proper partial object setup in fill_dense_prefix_end

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 23
    • hotspot
    • gc
    • b17

      When filling is required in `fill_dense_prefix_end`, the filler obj extends into next region and becomes a partial obj. For normal partial-obj, a region tracks its partial-obj size and the obj-start address. However, this artificial partial obj doesn't have a proper obj-start address.

      IOW, it's missing:

        region_after_dense_prefix->set_partial_obj_addr(obj_beg);

      This omission doesn't cause any issues, as it's not used anywhere, but it's good to maintain the partial-obj invariant.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: