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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      mtOther marks allocations coming from outside the VM. But then, the default parameter for flags in os::reserve_memory() should not be mtOther, since this API is only used within the VM.

      Seeing that "mtInternal" is basically the default nmt flag for anything in the VM without an own flag, "mtInternal" would be an obvious choice here.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: