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

[8u] Incorrect assignment operator used in guarantee() in genCollectedHeap

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b04

      Description

      in file genCollectedHeap.cpp, at function

      void GenCollectedHeap::prepare_for_compaction() {
      - guarantee(_n_gens = 2, "Wrong number of generations");
      + guarantee(_n_gens == 2, "Wrong number of generations");
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lzang Lin Zang
              Reporter:
              lzang Lin Zang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: