Parallel: Refactor local variables names in copy_unmarked_to_survivor_space

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: None
    • Component/s: hotspot
    • gc
    • b16

      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.

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

              Created:
              Updated:
              Resolved: