RFR: 8321404: Limit the number of heap dumps triggered by HeapDumpBeforeFullGC/AfterFullGC [v3]

David Holmes dholmes at openjdk.org
Thu Jan 4 06:13:38 UTC 2024


On Sat, 16 Dec 2023 04:36:57 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
>
> Denghui Dong has updated the pull request incrementally with one additional commit since the last revision:
> 
>   refine description

Filed JDK-8322989

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

PR Comment: https://git.openjdk.org/jdk/pull/16976#issuecomment-1876432026


More information about the serviceability-dev mailing list