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

NMTUtil::_memory_type_names should be in sync with MemoryType

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b10

      Description

      Code clean-up

      See http://hg.openjdk.java.net/jdk/jdk/file/e6250a870739/src/hotspot/share/memory/allocation.hpp
      http://hg.openjdk.java.net/jdk/jdk/file/e6250a870739/src/hotspot/share/services/nmtCommon.cpp

      MemoryType and _memory_type_names should be in sync, but they are coded independently and it's possible to change one while forgetting to change the other.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iklam Ioi Lam
                Reporter:
                iklam Ioi Lam
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: