RFR: 8299234: JMX Repository.query performance

Alexey Bakhtin abakhtin at openjdk.org
Wed Jan 11 11:29:39 UTC 2023


On Tue, 10 Jan 2023 17:14:29 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

> I see several issues with the proposed changes: ObjectName is not final, so I'm not sure the changes proposed to ObjectName are safe when/if a subclass is supplied. And in addition, because it's not final, you will need to make a defensive copy of the input parameter in Repository::query and do the matching against the copy.

Hi @dfuch, Thank you for review!

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

PR: https://git.openjdk.org/jdk/pull/11758


More information about the serviceability-dev mailing list