Integrated: 8321404: Limit the number of heap dumps triggered by HeapDumpBeforeFullGC/AfterFullGC

Denghui Dong ddong at openjdk.org
Thu Jan 4 03:22:34 UTC 2024


On Tue, 5 Dec 2023 16:31:24 GMT, Denghui Dong <ddong at openjdk.org> wrote:

> Hi,
> 
> Could I have a review of this patch?
> 
> In the current implementation, HeapDumpBeforeFullGC/AfterFullGC will generate dumps for every FGC, increasing the risk of disk full.
> 
> This patch introduces a new option 'FullGCHeapDumpLimit' to limit the number of dumps triggered by HeapDumpBeforeFullGC/AfterFullGC to enhance production-friendliness.
> 
> Best,
> Denghui

This pull request has now been integrated.

Changeset: 1cf9335b
Author:    Denghui Dong <ddong at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1cf9335b24639938aa64250d6862d9636f8605f8
Stats:     57 lines in 3 files changed: 53 ins; 0 del; 4 mod

8321404: Limit the number of heap dumps triggered by HeapDumpBeforeFullGC/AfterFullGC

Reviewed-by: dholmes, cjplummer

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

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


More information about the serviceability-dev mailing list