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

os::print_hex_dump should be more resilient against unreadable memory

XMLWordPrintable

    • b06

        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/

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

                Created:
                Updated:
                Resolved: