JDK 17 | JDK 19 |
---|---|
17.0.3Fixed | 19 b06Fixed |
Relates :
|
JDK-8215624 added parallel heap iteration to both `jmap -histo` and `jcmd GC.class_histogram`. When called with an explicit file and an invalid argument for number of threads, it leaks the file (bit of memory and a handle). Example: jmap -histo:parallel=notanumber,file=xx.txt Can only be reproduced with jmap. jcmd is safe, since `GC.class_histogram` handles argument for the `-parallel` option in shared code, and there it is done correclty.
|