os::reserve_memory should not use mtOther as default NMT flag

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 18
    • Component/s: hotspot
    • b04

      We use mtOther as default NMT flag for os::reserve_memory():

      "static char* reserve_memory(size_t bytes, bool executable = false, MEMFLAGS flags = mtOther);"

      mtOther marks allocations coming from outside the VM. It is not a good default flag.

      Note that in the end mtOther gets ignored in os::reserve_memory() and it defaults to mtNone anyway.

            Assignee:
            Thomas Stuefe
            Reporter:
            Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: