[Integrated] [foreign-memaccess] RFR: 8244128: Allocations larger than MAX_ALIGN can fail to be sliced to proper size.
Jorn Vernee
jvernee at openjdk.java.net
Thu Apr 30 04:32:12 UTC 2020
On Wed, 29 Apr 2020 18:09:44 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> Hi,
>
> This patch fixes a problem where the MemorySegment resulting from an allocation was not always sliced to the requested
> size, when the allocation code was manually up-sizing the allocation in order to perform manual alignment of the
> returned MemorySegment, but the initial allocation turned out to be aligned any ways. Thanks,
> Jorn
This pull request has now been integrated.
Changeset: 98ad8aab
Author: Jorn Vernee <jvernee at openjdk.org>
URL: https://git.openjdk.java.net/panama-foreign/commit/98ad8aab
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8244128: Allocations larger than MAX_ALIGN can fail to be sliced to proper size.
Reviewed-by: mcimadamore
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/136
More information about the panama-dev
mailing list