Integrated: 8340334: Update jcmd VM.events max parameter to be INT

Leonid Mesnik lmesnik at openjdk.org
Thu Nov 21 01:35:18 UTC 2024


On Tue, 19 Nov 2024 00:40:09 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 13439113
Author:    Leonid Mesnik <lmesnik at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/13439113c361dcb0629ece37844443cbf99ef704
Stats:     11 lines in 3 files changed: 0 ins; 4 del; 7 mod

8340334: Update jcmd VM.events max parameter to be INT

Reviewed-by: cjplummer, kevinw

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

PR: https://git.openjdk.org/jdk/pull/22224


More information about the hotspot-runtime-dev mailing list