RFR: 8312623: SA add NestHost and NestMembers attributes when dumping class
Ashutosh Mehra
duke at openjdk.org
Mon Jul 24 22:17:52 UTC 2023
This patch adds NestHost and NestMembers attributes to the class dumped by SA.
Testing: `test/hotspot/jtreg/serviceability/sa` and `test/jdk/sun/tools/jhsdb`
Manual testing by dumping `j.l.String` and `j.l.String$CaseInsensitiveComparator` classes.
`j.l.String` shows one entry in `NestMembers` attribute for `j.l.String$CaseInsensitiveComparator` and `j.l.String$CaseInsensitiveComparator` has `j.l.String` as its `NestHost`.
-------------
Commit messages:
- 8312623: SA add NestHost and NestMembers attributes when dumping class
Changes: https://git.openjdk.org/jdk/pull/15005/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15005&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8312623
Stats: 50 lines in 3 files changed: 50 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/15005.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15005/head:pull/15005
PR: https://git.openjdk.org/jdk/pull/15005
More information about the serviceability-dev
mailing list