RFR: 8312623: SA add NestHost and NestMembers attributes when dumping class
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Jul 25 03:01:40 UTC 2023
On Mon, 24 Jul 2023 22:12:28 GMT, Ashutosh Mehra <duke at openjdk.org> wrote:
> 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`.
Looks good.
Thanks,
Serguei
-------------
Marked as reviewed by sspitsyn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15005#pullrequestreview-1544557663
More information about the serviceability-dev
mailing list