On Wed, 10 Apr 2024 04:34:53 GMT, Chris Plummer <cjplum...@openjdk.org> wrote:

> One other thing I just realized is that if we go through with this change, 
> then we can't in the future change VM.heap_dump so it can be used without any 
> filename (make it use a default filename when no filename is specified). 
> Setting HeapDumpPath would override this default filename, and it would be 
> really confusing to the user when suddenly heap dumps are not appearing in 
> the default location with the default name because someone decided to specify 
> HeapDumpPath when launching the JVM.

Isn't this the case already for the -XX:+HeapDumpBeforeFullGC, 
-XX:+HeapDumpAfterFullGC  scenarios?
But probably it should be decided first if such a default is planned for 
VM.heap_dump .

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

PR Comment: https://git.openjdk.org/jdk/pull/18190#issuecomment-2047487391

Reply via email to