File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
## [ Unreleased]
11
11
12
+ ### Fixed
13
+
14
+ - JVMUtil wrong location for the temp directory for producing heap dumps
15
+
12
16
## [ 4.2.0] - 2024-01-10
13
17
14
18
### Added
Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ component singleton {
27
27
*
28
28
* @return The absolute path to the generated heap dump
29
29
*/
30
- string function generateHeapDump ( directoryPath ){
30
+ string function generateHeapDump ( directoryPath = getTempDirectory () ){
31
31
// Create it if it doesn't exist
32
- if ( ! directoryExists ( arguments .directoryPath = getTempDirectory () ) ) {
32
+ if ( ! directoryExists ( arguments .directoryPath ) ) {
33
33
directoryCreate ( arguments .directoryPath );
34
34
}
35
35
You can’t perform that action at this time.
0 commit comments