8027429: Add diagnostic command VM.info to get hs_err print-out

Refactored hs_err reporting code so that it can be used for VM.info safely

Co-authored-by: David Buck <david.buck@oracle.com>
Reviewed-by: dholmes, hseigel
4 files changed