[jdk21u-dev] Integrated: 8319650: Improve heap dump performance with class metadata caching
Aleksey Shipilev
shade at openjdk.org
Tue Apr 9 06:01:19 UTC 2024
On Wed, 13 Dec 2023 10:46:42 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Transplanted from https://github.com/openjdk/jdk21u/pull/388
>
> Unclean backport to improve heap dump performance. The uncleanliness comes from [JDK-8306441](https://bugs.openjdk.org/browse/JDK-8306441) that does not exist in JDK 21, and which I don't think we want to backport at the moment. I had to add a few more `ResourceMark`-s near `HeapDumpWriter` to manage the cache allocations.
>
> Additional testing:
> - [x] MacOS AArch64 server release, heap dump performance improved
> - [x] Linux x86_64 server fastdebug, serviceability/ (contains heap dump tests)
> - [x] Linux x86_64 server fastdebug, runtime/ErrorHandling (contains heap dump on failure tests)
> - [x] Linux x86_64 server fastdebug, gc/epsilon (contains heap dump on failure tests)
> - [x] Linux x86_64 server fastdebug, sun/tools/jhsdb (contains heap dump tests)
This pull request has now been integrated.
Changeset: d5f44dca
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/d5f44dcae2f0be291e1ce52562574fccce7dc763
Stats: 138 lines in 1 file changed: 114 ins; 5 del; 19 mod
8319650: Improve heap dump performance with class metadata caching
Reviewed-by: phh
Backport-of: 03db82818b905f21cb5ad1d56a687e238b4a6e33
-------------
PR: https://git.openjdk.org/jdk21u-dev/pull/8
More information about the jdk-updates-dev
mailing list