[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Integrated: 8299234: JMX Repository.query performance
From:       Alexey Bakhtin <abakhtin () openjdk ! org>
Date:       2023-02-20 17:56:36
Message-ID: 6FzcsI0_PnDz9U_4wPmdW_kjSOD8EqzCipfHFUrxKsc=.a3d577ad-57dc-493f-8a5c-8f0325287bc0 () github ! com
[Download RAW message or body]

On Wed, 21 Dec 2022 18:50:52 GMT, Alexey Bakhtin <abakhtin@openjdk.org> 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 1000000 1000000
> Test PASSED in 8943169791 ns.
> GC: G1 Young Generation getCollectionCount()=177 getCollectionTime()=118
> 
> 
> After:
> 
> $ java test 1000000 1000000
> Test PASSED in 4808213917 ns.
> GC: G1 Young Generation getCollectionCount()=88 getCollectionTime()=53
> 
> Private ObjectName.matchDomains() method is also updated to minimize unnecessary memory allocation.
> 
> All javax/management jtreg tests passed successfully.

This pull request has now been integrated.

Changeset: 9a797228
Author:    Alexey Bakhtin <abakhtin@openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9a797228f3576720196d5e3bf4b204a5e3f87376
Stats:     147 lines in 4 files changed: 19 ins; 115 del; 13 mod

8299234: JMX Repository.query performance

Reviewed-by: dfuchs, kevinw

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

PR: https://git.openjdk.org/jdk/pull/11758
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic