NMT: change map_memory() signature to match other functions

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: hotspot
    • Fix Understood

      This is a follow-up to JDK-8353480

      We have:

        static char* map_memory(int fd, const char* file_name, size_t file_offset,
                                 char *addr, size_t bytes, bool read_only = false,
                                 bool allow_exec = false, MemTag mem_tag = mtNone);


      Suggestion from Stefan:
      - drop default values for allow_exec and mem_tag
      - reverse the order of allow_exec and mem_tag

            Assignee:
            Unassigned
            Reporter:
            Gerard Ziemski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: