RFR: Verifier should print extended info on referenced location

Aleksey Shipilev shade at redhat.com
Wed Jun 28 11:53:07 UTC 2017


I was wondering recently is it possible to get the human-readable data on where
the given address belongs to. It turns out, there is os::print_location that is
called for hs_err, which decodes most of the stuff. It makes sense to call it
for our interior ptr printout in Verifier:
  http://cr.openjdk.java.net/~shade/shenandoah/verifier-print-location/webrev.01/

Induced failure looks like this:

Referenced from:
  interior location: 0x00007fd7ab7abed5
  outside of Java heap
  0x00007fd7ab7abed5 is at entry_point+117 in (nmethod*)0x00007fd7ab7aba90

Thanks,
-Aleksey



More information about the shenandoah-dev mailing list