Integrated: 8295661: CompileTask::compile_id() should be passed as int

Damon Fenacci duke at openjdk.org
Mon Dec 19 08:53:57 UTC 2022


On Mon, 12 Dec 2022 11:29:55 GMT, Damon Fenacci <duke at openjdk.org> wrote:

> Changed return type of `CompileTask::compile_id()` from `int` to `uint`.
> Also modified the type everywhere `compile_id` is used (parameters, local variables, string formatting, constant assignments) *as much as possible*.
> Added *asserts* to check for valid value range where not possible.

This pull request has now been integrated.

Changeset: 8e49fcdd
Author:    Damon Fenacci <damon.fenacci at oracle.com>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8e49fcdde4fef5a8db36823b35d409ba2c9ec47b
Stats:     47 lines in 9 files changed: 0 ins; 2 del; 45 mod

8295661: CompileTask::compile_id() should be passed as int

Reviewed-by: thartmann, dnsimon, never

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

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


More information about the hotspot-dev mailing list