G1: Merge multiple calls of get_next_marked_addr in HeapRegion::oops_on_memregion_iterate_in_unparsable

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • gc
    • b07

      In `HeapRegion::oops_on_memregion_iterate_in_unparsable`:

      ```
        if (!bitmap->is_marked(cur)) {
          cur = bitmap->get_next_marked_addr(cur, end);
        }

        while (cur != end) {
          ...
          cur = bitmap->get_next_marked_addr(cur, end);
        }
        ...
      ```

      Both this method and `get_next_marked_addr` are annotated with `inline`. Merge these two call sites into one to reduce #instruction in the assembly.

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

              Created:
              Updated:
              Resolved: