Parallel: Remove outdated comments in MutableNUMASpace::bias_region

XMLWordPrintable

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

      In JDK-8330144, `free_memory` has been renamed and the third arg is dropped.

      - static void free_memory(char *addr, size_t bytes, size_t alignment_hint);
      + static void disclaim_memory(char *addr, size_t bytes);

      The surrounding comment in the caller `bias_region` is not updated though.

      ```
      // The alignment_hint argument must be less than or equal to the small page
      // size if not using large pages or else this function does nothing.
      ```

      It refers to the removed third-arg and can be dropped.

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

              Created:
              Updated:
              Resolved: