[jdk17u] Integrated: 8275426: PretouchTask num_chunks calculation can overflow

Aleksey Shipilev shade at openjdk.java.net
Mon Nov 22 07:06:22 UTC 2021


On Thu, 18 Nov 2021 11:26:48 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Unclean backport to fix the overflow in pretouch code. There is a reproducer for x86_32.
> 
> The backport does not apply cleanly, because `pretouch_gang` was renamed to `pretouch_workers` later.
> @kimbarrett, please ack this version.
> 
> Additional testing:
>  - [x] Linux x86_32 reproducer
>  - [x] Linux x86_64 fastdebug `tier1`
>  - [x] Linux x86_32 fastdebug `tier1`

This pull request has now been integrated.

Changeset: 66c051a9
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17u/commit/66c051a9c3c3d889cee080510abbd0173e4ee7be
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8275426: PretouchTask num_chunks calculation can overflow

Reviewed-by: kbarrett
Backport-of: 60cb27dcda475a66e329359ac1ee3ffcde95c657

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

PR: https://git.openjdk.java.net/jdk17u/pull/286


More information about the jdk-updates-dev mailing list