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

Apply "oop block" iteration technique used by parallel compaction to other GCs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Withdrawn
    • Icon: P4 P4
    • 9
    • hs13
    • hotspot
    • None
    • gc
    • generic
    • generic

      The technique of iterating over a contiguous range of embedded oops (oop block) in a loop used by parallel compaction should be adopted by other GCs to reduce code size, improve readability, ease maintenance, speed up methods that visit only oops that fall within a specified memory region and cure cancer. The best example of the difference is instanceKlassKlass::oop_oop_iterate* (old style, in which each oop field is accessed by name) and instanceKlassKlass::oop_update_pointers (oop block style).

            jcoomes John Coomes (Inactive)
            jcoomes John Coomes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: