On Tue, 22 Aug 2023 23:22:37 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:
> The CDS archive can change memory locations on different runs of the same JVM > binary. This exposed a long standing bug in FileMapInfo.java. It was caching > addresses that could be different for different JVM processes. As a result, > doing an attach, detach, and then another attach to a different JVM process > was resulting in various exceptions because the contents of CDS memory was > not as expected. > > Tested by running all serviceability/sa tests. Also tested with ZGC and > generational ZGC. Seems reasonable. Thanks. ------------- Marked as reviewed by dholmes (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/15395#pullrequestreview-1590600432