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

os::print_hex_dump should be more resilient against unreadable memory

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b06

      Backports

        Description

        Today, accidentally calling os::print_hex_dump on unreadable memory would SEGV. It would probably be the second SEGV in the error reporting code that wants to dump some raw memory. We can use os::is_readable_pointer to query readable memory before reading it. For example:
         http://cr.openjdk.java.net/~shade/8217994/webrev.01/

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: