Integrated: 8325074: ZGC fails assert(index == 0 || is_power_of_2(index)) failed: Incorrect load shift: 11
Axel Boldt-Christmas
aboldtch at openjdk.org
Fri Feb 16 08:37:59 UTC 2024
On Thu, 15 Feb 2024 07:08:50 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
> `ZBarrierSet::clone_obj_array` incorrectly treats the payload of an ObjArray as `[base, obj + size[`. With non standard object alignment (`ObjectAlignmentInBytes`) there may be padding words at the end.
>
> Change `ZBarrierSet::clone_obj_array` to instead use `[base, base + length[` as the payload.
This pull request has now been integrated.
Changeset: 2705ed0a
Author: Axel Boldt-Christmas <aboldtch at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2705ed0a71e606a517518569d60051c85ad3c516
Stats: 5 lines in 3 files changed: 1 ins; 0 del; 4 mod
8325074: ZGC fails assert(index == 0 || is_power_of_2(index)) failed: Incorrect load shift: 11
Reviewed-by: eosterlund, stefank, rcastanedalo
-------------
PR: https://git.openjdk.org/jdk/pull/17863
More information about the hotspot-gc-dev
mailing list