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

Parallel: Refactor local variables names in copy_unmarked_to_survivor_space

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc

      This method tries to copy an obj (`o` in this method) to a new address.

      It uses `oop new_obj` to denotes the new object. However, it's not a valid oop until the copying is finished. I suggest using `HeapWord* new_obj_addr` to denote the address of the new obj, which removes many cast_from_oop/cast_to_oop conversions.

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

              Created:
              Updated: