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

BlockLocationPrinter fails to decode addresses with G1

    XMLWordPrintable

Details

    • gc
    • b29

    Backports

      Description

        The BlockLocationPrinter used for decoding/printing addresses in hs_err files may call G1CollectedHeap::block_start on random addresses in the heap.

        Recently, in JDK-8270540 we changed G1's BOT block_start method to reject addresses between top() and end() of a region.

        This causes the hs_err file address decoder to fail, which decreases the usefulness of that hs_err file (it prints something like "error decoding...") and unnecessarily complicates backtraces (i.e. adds lots of additional stack frames to thread's backtraces when this fails).

        Attachments

          Issue Links

            Activity

              People

                tschatzl Thomas Schatzl
                tschatzl Thomas Schatzl
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: