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

Doug Simon dnsimon at openjdk.org
Fri Dec 16 09:39:18 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.

The JVMCI changes in this PR look correct. @tkrodriguez could also please look them over.

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

Marked as reviewed by dnsimon (Committer).

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


More information about the hotspot-dev mailing list