RFR: 8340334: Update jcmd VM.events max parameter to be INT [v2]
Leonid Mesnik
lmesnik at openjdk.org
Thu Nov 21 00:02:32 UTC 2024
> The jcmd VM.events max parameter type is changed to INT.
> Also,I noted the max <= 0 is ignored, so I updated documentation and set "0" as a default value.
> The jcmd exists if parameter is negative now.
>
> The `max` is `int` while really it is the unsigned int. However I don't think it makes sense to change it to `size_t` or `unsigned int` in all places where 'max' is used.
Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
doc fixed
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22224/files
- new: https://git.openjdk.org/jdk/pull/22224/files/3e80f1b5..39f04207
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22224&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22224&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/22224.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22224/head:pull/22224
PR: https://git.openjdk.org/jdk/pull/22224
More information about the hotspot-runtime-dev
mailing list