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

Shenandoah: objArrayKlass metadata is not marked with chunked arrays

    XMLWordPrintable

Details

    • gc
    • b28

    Backports

      Description

        Usually, marking code calls Klass::oop_oop_iterate(), where it marks object klass metadata.

        Shenandoah introduced chunked array processing a while ago to breakup marking a large array into chunks, then call oop_iterate_range() to mark individual chunk. Unfortunately, oop_iterate_range() does not iterate over object klass metadata, which it should *not*, so we end up missing the mark of object array klass metadata.

        Thanks for [~lmao] reporting the bug.

        Attachments

          Issue Links

            Activity

              People

                zgu Zhengyu Gu
                zgu Zhengyu Gu
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: