RFR: 8254674: G1: Improve root location reference to dead obj verification message

Thomas Schatzl tschatzl at openjdk.java.net
Tue Oct 13 11:22:16 UTC 2020


Hi all,

  can I have reviews for this tiny change that augments the

Root location 0x00007fc6497f5070 points to dead obj 0x00000000e0200000

message with region information as G1 does for other references:

points to dead obj 0x00000000e0300000 in region 3:(HS)[0x00000000e0300000,0x00000000e0400000,0x00000000e0400000]

I.e. resulting in something like

Root location 0x00007fe388b7f070 points to dead obj 0x00000000e0200000 in region
2:(HS)[0x00000000e0200000,0x00000000e0300000,0x00000000e0300000]

This saves a few seconds looking up the region for the failing address during debugging..

Testing: local compilation, local verification on failing case

Thanks,
  Thomas

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

Commit messages:
 - Initial import

Changes: https://git.openjdk.java.net/jdk/pull/631/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=631&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254674
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/631.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/631/head:pull/631

PR: https://git.openjdk.java.net/jdk/pull/631



More information about the hotspot-gc-dev mailing list