RFR: 8346661: Add a register print helper method and unify register printing

Matthias Baesken mbaesken at openjdk.org
Mon Dec 30 11:23:35 UTC 2024


On Mon, 30 Dec 2024 08:27:56 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> For printing registers we can add a little helper method to shorten the coding. Also some of the register printing code can use loops.

Yeah why not 4.  On Linux ppc64le it is currently 3 per line , like this

Registers:
pc =0x00007fff96bb243c  lr =0x00007fff9711a6c0  ctr=0x00007fff96bb23e0  
r0 =0x0000000000000030  r1 =0x00007fff431fd7f0  r2 =0x00007fff97abe800

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

PR Comment: https://git.openjdk.org/jdk/pull/22894#issuecomment-2565351675


More information about the hotspot-runtime-dev mailing list