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

CollectedHeap::is_permanent() and ::is_in_permanent() need better names

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 9
    • 7
    • hotspot
    • None
    • gc
    • generic
    • generic

      is_permanent() checks that an address is in the committed perm heap.

      is_in_permanent() checks that an address is the reserved perm heap.

      The methods should be renamed to convey the (difference in)
      semantics, perhaps something like is_in_{reserved,committed}_permanent().
      The current names do not serve that purpose and are apt to be
      confusing and used incorrectly on that account.

            ysr Y. Ramakrishna
            ysr Y. Ramakrishna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: