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

os::print_hex_dump is racy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • 17, 21, 22
    • hotspot
    • b11

    Description

      It uses os::is_readable_pointer for readibility check before printing, but that information may be stale once we get to the printing. It would be better to use SafeFetch directly to access the dumped memory location.

      Attachments

        Issue Links

          Activity

            People

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: