G1: G1CardCounts should release the ReservedSpace too

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • 9
    • Affects Version/s: hs24, hs25
    • Component/s: hotspot
    • gc
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: