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

NMT: MetaspaceSnapshot::snapshot uses wrong enum

XMLWordPrintable

    • b20

      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);
        }
      }

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

              Created:
              Updated:
              Resolved: