RFR: 8346661: Add a register print helper method and unify register printing
Thomas Stuefe
stuefe at openjdk.org
Wed Jan 15 16:49:38 UTC 2025
On Thu, 9 Jan 2025 03:05:29 GMT, David Holmes <dholmes at openjdk.org> wrote:
> I think it is very difficult to handle the formatting alignment/indentation when using a per-register helper this way. But I also don't think it is worth the trouble of trying to write a print function that takes a set of registers and their descriptions and figures out maximum name lengths etc to get that layout correct.
>
> To be honest the bang-for-buck here seems too low to be worthwhile IMO.
I agree. The intention is good, but the savings are not that large IMHO.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22894#issuecomment-2593430152
More information about the hotspot-runtime-dev
mailing list