[jdk11u-dev] RFR: 8243210: ClhsdbScanOops fails with NullPointerException in FileMapHeader.inCopiedVtableSpace

Christoph Langer clanger at openjdk.org
Fri Aug 4 21:06:33 UTC 2023


On Fri, 4 Aug 2023 15:09:49 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> We see this exact problem at customers, and the fix is trivial and no-risk, so lets get this fixed.
> 
> Unclean backport.
> 
> Differences:
> 
> - `src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/memory/FileMapInfo.java` had been rewritten for `8263002: Remove CDS MiscCode region` but it does not affect the effectiveness of this patch.
> 
> - `test/hotspot/jtreg/ProblemList.txt`: the original patch re-includes the formerly excluded test `serviceability/sa/ClhsdbScanOops.java` for macos. That exclusion did not exist in 11, so I left the hunk out.
> 
> Tests:
> 
> I manually tested `serviceability/sa/ClhsdbScanOops.java` on Linux x64, seems fine.

Looks good.

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

Marked as reviewed by clanger (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2066#pullrequestreview-1563562871


More information about the jdk-updates-dev mailing list