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

G1: G1CardCounts should release the ReservedSpace too

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: hs24, hs25
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      generic

      Description

      In src/share/vm/gc_implementation/g1/g1CardCounts.cpp, G1CardCounts destructor releases only the VirtualSpace.

      203 G1CardCounts::~G1CardCounts() {
       204 if (has_reserved_count_table()) {
       205 _card_counts_storage.release();
       206 }
       207 }

      It should release the ReservedSpace as well.

        Attachments

          Activity

            People

            • Assignee:
              jmasa Jon Masamitsu (Inactive)
              Reporter:
              poonam Poonam Bajaj Parhar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: