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

NMT: MetaspaceSnapshot::snapshot uses wrong enum

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      While reviewing Richard found:

      "This is not part of your change, but aren't ClassType and NonClassType mixed up in the body of MetaspaceSnapshot::snapshot method?"

      and it looks like it:

      void MetaspaceSnapshot::snapshot(MetaspaceSnapshot& mss) {
        snapshot(Metaspace::ClassType, mss);
        if (Metaspace::using_class_space()) {
          snapshot(Metaspace::NonClassType, mss);
        }
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              minqi Yumin Qi
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: