RFR: 8250801: Add clhsdb "threadcontext" command [v2]
Chris Plummer
cjplummer at openjdk.java.net
Sun Jan 2 00:56:53 UTC 2022
On Fri, 24 Dec 2021 11:31:29 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
>> Chris Plummer has updated the pull request incrementally with four additional commits since the last revision:
>>
>> - Update the copyright this time.
>> - Really update the copyright this time.
>> - Update copyright and only print the register name.
>> - Update copyright and remove @bug reference
>
> src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/JavaThread.java line 489:
>
>> 487: for (int r = 0; r < tc.getNumRegisters(); r++) {
>> 488: Address regAddr = tc.getRegisterAsAddress(r);
>> 489: System.out.format("Register(%s): %s", tc.getRegisterName(r), regAddr);
>
> Would you consider just printing name = value, rather than printing the word Register many times? 8-)
Ok. I changed it to no longer print "Register"
-------------
PR: https://git.openjdk.java.net/jdk/pull/6925
More information about the serviceability-dev
mailing list