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 ------------- Commit messages: - 8321404: Limit the number of heap dumps triggered by HeapDumpBeforeFullGC/AfterFullGC Changes: https://git.openjdk.org/jdk/pull/16976/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16976&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8321404 Stats: 53 lines in 3 files changed: 51 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/16976.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16976/head:pull/16976 PR: https://git.openjdk.org/jdk/pull/16976