Re: RFR: 8299234: JMX Repository.query performance [v5]

2023-02-20 Thread Serguei Spitsyn
On Fri, 17 Feb 2023 17:33:19 GMT, Kevin Walls wrote: >> Alexey Bakhtin has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Optimize ObjectName.matchDomains > > Yes, I think it looks good. > I looked a while ago but it was somewhat unfamiliar

Re: RFR: 8299234: JMX Repository.query performance [v5]

2023-02-20 Thread Alexey Bakhtin
On Fri, 17 Feb 2023 17:33:19 GMT, Kevin Walls wrote: >> Alexey Bakhtin has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Optimize ObjectName.matchDomains > > Yes, I think it looks good. > I looked a while ago but it was somewhat unfamiliar

Re: RFR: 8299234: JMX Repository.query performance [v5]

2023-02-17 Thread Kevin Walls
On Fri, 17 Feb 2023 18:20:32 GMT, Alexey Bakhtin wrote: >> src/java.management/share/classes/javax/management/ObjectName.java line 2026: >> >>> 2024: // This ObjectName is the pattern >>> 2025: // The other ObjectName is the string. >>> 2026: if (useOptimized)

Re: RFR: 8299234: JMX Repository.query performance [v5]

2023-02-17 Thread Alexey Bakhtin
On Fri, 17 Feb 2023 17:34:53 GMT, Kevin Walls wrote: > 2026 and 2031 I was referring to with the nit about if and { } Hi @kevinjwalls ! Thank you for review. The braces are added - PR: https://git.openjdk.org/jdk/pull/11758

Re: RFR: 8299234: JMX Repository.query performance [v5]

2023-02-16 Thread Alexey Bakhtin
On Thu, 16 Feb 2023 08:16:40 GMT, Serguei Spitsyn wrote: > Hi Alexey, I hope, Kevin will have a chance to review your PR. I'll check > with him. Thank you! - PR: https://git.openjdk.org/jdk/pull/11758

Re: RFR: 8299234: JMX Repository.query performance [v5]

2023-02-16 Thread Serguei Spitsyn
On Thu, 2 Feb 2023 13:42:51 GMT, Alexey Bakhtin wrote: >> Please find a patch to improve JMX Repository.query performance >> >> Using ObjectName.apply() allows significantly decrease memory usage and the >> number of GC cycles: >> Before: >> >> $ java test 100 100 >> Test PASSED in 894

Re: RFR: 8299234: JMX Repository.query performance [v5]

2023-02-15 Thread Alexey Bakhtin
On Thu, 2 Feb 2023 13:42:51 GMT, Alexey Bakhtin wrote: >> Please find a patch to improve JMX Repository.query performance >> >> Using ObjectName.apply() allows significantly decrease memory usage and the >> number of GC cycles: >> Before: >> >> $ java test 100 100 >> Test PASSED in 894

Re: RFR: 8299234: JMX Repository.query performance [v5]

2023-02-13 Thread Alexey Bakhtin
On Thu, 2 Feb 2023 13:42:51 GMT, Alexey Bakhtin wrote: >> Please find a patch to improve JMX Repository.query performance >> >> Using ObjectName.apply() allows significantly decrease memory usage and the >> number of GC cycles: >> Before: >> >> $ java test 100 100 >> Test PASSED in 894

Re: RFR: 8299234: JMX Repository.query performance [v5]

2023-02-02 Thread Alexey Bakhtin
> Please find a patch to improve JMX Repository.query performance > > Using ObjectName.apply() allows significantly decrease memory usage and the > number of GC cycles: > Before: > > $ java test 100 100 > Test PASSED in 8943169791 ns. > GC: G1 Young Generation getCollectionCount()=177 ge