RFR: 8266957: SA has not followed JDK-8220587 and JDK-8224965

Yasumasa Suenaga ysuenaga at openjdk.java.net
Mon May 17 12:15:01 UTC 2021


Following jtreg tests for SA would fail because SA has not followed [JDK-8220587](https://bugs.openjdk.java.net/browse/JDK-8220587) and [JDK-8224965](https://bugs.openjdk.java.net/browse/JDK-8224965).

* serviceability/sa/ClhsdbDumpheap.java
* serviceability/sa/ClhsdbFindPC.java
* serviceability/sa/ClhsdbInspect.java
* serviceability/sa/ClhsdbSymbol.java
* serviceability/sa/TestHeapDumpForInvokeDynamic.java
* serviceability/sa/TestJmapCore.java
* serviceability/sa/TestJmapCoreMetaspace.java

They need to handle relocated objects and/or live regions (pages). SA should handle them.

This change passes serviceability/sa jtreg tests on Linux x64 with -vmoption:-XX:+UseZGC, but I want to know this change works fine on testbed for ZGC in Oracle. Could you help?

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

Commit messages:
 - Improve relocation handling
 - Merge remote-tracking branch 'upstream/master' into JDK-8266957
 - 8266957: SA has not followed JDK-8220587 and JDK-8224965

Changes: https://git.openjdk.java.net/jdk/pull/4057/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4057&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8266957
  Stats: 799 lines in 23 files changed: 558 ins; 191 del; 50 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4057.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4057/head:pull/4057

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



More information about the hotspot-gc-dev mailing list