On Thu, 20 Apr 2023 18:39:29 GMT, Naoto Sato <na...@openjdk.org> wrote:
> The current macro assumes the argument is `jint` because all locations pass > `jint`. However, this would not work if a wider type such as `jlong` is > passed. Removing the `unsigned` cast and make the condition explicit would > make the macro more robust. This pull request has now been integrated. Changeset: f32adaf8 Author: Naoto Sato <na...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/f32adaf89fede5262db2cb5517fc649a87e0714d Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 8304836: Make MALLOC_MIN4 macro more robust Reviewed-by: bchristi ------------- PR: https://git.openjdk.org/jdk/pull/13564