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

SA: delete dead code in jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java

    XMLWordPrintable

Details

    • b13

    Description

      After CMS collector is removed, the following code in jdk.hotspot.agent/share/classes/sun/jvm/hotspot/oops/ObjectHeap.java of method iterateLiveRegions() :
      ```
          if (heap instanceof GenCollectedHeap) {
             GenCollectedHeap genHeap = (GenCollectedHeap) heap;
             Generation genOld = genHeap.getGen(1);
          }
      ```
      should be removed too.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: