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

Parallel: Remove outdated comments in MutableNUMASpace::bias_region

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • None
    • hotspot
    • gc
    • master

      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.

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

              Created:
              Updated:
              Resolved: