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

Damon Fenacci duke 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.

Thanks a lot for the review. I should have addressed all your comments.

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

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


More information about the hotspot-dev mailing list