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

Refactor assert( G1CollectedHeap::used() == recalculate_used() ) with better message

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b20

      Description

      There are some locations of assert(used() == recalculate_used(), "Should be equal") or similar.

      Replace the assert with helpful assert message.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sangheki Sangheon Kim
              Reporter:
              sangheki Sangheon Kim
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: