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

Bitmap region of dynamic CDS archive is not unmapped

    XMLWordPrintable

Details

    • b25

    Description

      $ java -cp /home/iklam/tmp/HelloWorld.jar -XX:ArchiveClassesAtExit=/tmp/foo.jsa HelloWorld

      $ java -cp /home/iklam/tmp/HelloWorld.jar -XX:SharedArchiveFile=/tmp/foo.jsa -Xlog:cds=debug -Xlog:cds+reloc=debug -XX:ArchiveRelocationMode=1 HelloWorld | grep -i bitmap
      [0.034s][debug][cds,reloc] mapped relocation bitmap @ 0x00007f74e00a4000 (1572631 bits)
      [0.064s][debug][cds,reloc] mapped relocation bitmap @ 0x00007f74e456a000 (1228 bits)
      [0.065s][info ][cds ] Unmapping region #3 at base 0x00007f74e00a4000 (Bitmap)

      Note that there's no unmapping of the 0x00007f74e456a000 region

      Attachments

        Issue Links

          Activity

            People

              ccheung Calvin Cheung
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: