RFR: 8353727: HeapDumpPath doesn't expand %p

Kevin Walls kevinw at openjdk.org
Mon Apr 7 15:01:34 UTC 2025


On Mon, 7 Apr 2025 12:32:52 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> @kevinjwalls I have [JDK-8349083](https://bugs.openjdk.org/browse/JDK-8349083) to address similar issues.
> 
> AFAICT, there are 3 separate code to handle filename expansion and logging has the most complete support, It will be nice to unify them.

Hi, thanks for the pointer.
Yes, we have some duplication in this area...  This change is quite small, and removes one duplicate, the manual "base+pid+extension" creation of the filename in HeapDumper.
I am looking at the other PR, maybe we can make them share more in future...

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

PR Comment: https://git.openjdk.org/jdk/pull/24482#issuecomment-2783639159


More information about the hotspot-runtime-dev mailing list