RFR: 8337662: Improve os::print_hex_dump for printing Instructions sections [v6]

Matthias Baesken mbaesken at openjdk.org
Wed Aug 28 13:30:53 UTC 2024


On Mon, 19 Aug 2024 13:26:22 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> Currently we use os::print_hex_dump for printing Instruction sections in the hserr file. The function could be slightly improved, .e.g. by showing directly the pc .
>> The instructions section would for example look like this, with a small helper '=>' pointing to the pc. Makes the output more readable.
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove extra whitespace

Hi Thomas, I included your suggestions.
Also I added a test with unit size 2 .

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20419#issuecomment-2315320308


More information about the hotspot-runtime-dev mailing list