RFR: 8345102: [s390x/ppc] ShowRegistersOnAssertTest.java fails after 8343756
Amit Kumar
amitkumar at openjdk.org
Thu Nov 28 04:08:13 UTC 2024
This PR adds s390 and ppc info in the `ShowRegistersOnAssertTest.java`.
I did this update on the below information present in hs-err file, present on both platform, basis:
s390:
General Purpose Registers:
--------------------------
r0 = 0xffffffffffff8028 r1 = 0x000003ffb41dab90 | r0 = -32728 r1 = 4396773387152
r2 = 0x000003ffb340e780 r3 = 0x000002aa2e11fca0 | r2 = 4396758919040 r3 = 2929940626592
r4 = 0x000003ffb3126fe6 r5 = 0x0000000000000004 | r4 = 4396755873766 r5 = 4
r6 = 0x0000000000000002 r7 = 0x000003ffb5c60700 | r6 = 2 r7 = 4396801197824
r8 = 0x000003ffa802be10 r9 = 0x000003ffb5c92ce8 | r8 = 4396570295824 r9 = 4396801404136
r10 = 0x000003ffb6b66000 r11 = 0x000003ffacafeaf8 | r10 = 4396816949248 r11 = 4396648753912
r12 = 0x000003ffb37ce400 r13 = 0x000003ffe9ffabbf | r12 = 4396762850304 r13 = 4397677390783
r14 = 0x000003ffb3126fe6 r15 = 0x000003ffacafeaf8 | r14 = 4396755873766 r15 = 4396648753912
ppc:
Registers:
pc =0x00007b5eff558b14 lr =0x00007b5eff558af4 ctr=0x00007b5f0083e7b0
r0 =0x00007b5eff558af4 r1 =0x00007b5efedeaf40 r2 =0x00007b5f00567c00
r3 =0x00007b5f0019ebd8 r4 =0x00000000000002f0 r5 =0x0000000000000200
r6 =0x0000000000000000 r7 =0x00007b5f00848dbc r8 =0x0000000000000017
r9 =0x00007b5f00900000 r10=0x0000000000000058 r11=0x0000000000000000
r12=0x00007b5f0083e7b0 r13=0x00007b5efedf68f0 r14=0x00007b5eec1d9e57
r15=0x00007b5efedecc90 r16=0x00007b5ef802adc0 r17=0x000000000000006a
r18=0x00007b5efedecd60 r19=0x00007b5eec1551a8 r20=0x0000000000000000
r21=0x00007b5efedecc30 r22=0x00007b5efedec1b0 r23=0x00007b5efedeb1f8
r24=0x00007b5efedeb080 r25=0x0000000000000000 r26=0x00007b5efedeb130
r27=0x00007b5efedeb070 r28=0x0000000000000000 r29=0x00007b5ef802adc0
r30=0x00007b5efedeb080 r31=0x00007b5efedeaf40
Moreover, in s390 environment, hs_err file wasn't complete. I handled that exception and added assert for that. Test is now passing on s390.
-------------
Commit messages:
- updates for s390 and ppc
Changes: https://git.openjdk.org/jdk/pull/22427/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22427&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8345102
Stats: 28 lines in 1 file changed: 22 ins; 2 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/22427.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22427/head:pull/22427
PR: https://git.openjdk.org/jdk/pull/22427
More information about the hotspot-runtime-dev
mailing list