[jdk20] Integrated: 8299862: OfAddress setter should disallow heap segments
Maurizio Cimadamore
mcimadamore at openjdk.org
Wed Jan 11 10:35:15 UTC 2023
On Tue, 10 Jan 2023 14:04:38 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> When unifying memory address with memory segments, we missed the case where a heap memory segment is passed as a value to a var handle address setters.
>
> The solution is to reuse the same check we use when validating segment downcall parameters also for segment memory writes.
This pull request has now been integrated.
Changeset: 945ef075
Author: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL: https://git.openjdk.org/jdk20/commit/945ef07564bb2e7db9743d07d7d9ac7faa3f3d4d
Stats: 27 lines in 5 files changed: 23 ins; 0 del; 4 mod
8299862: OfAddress setter should disallow heap segments
Reviewed-by: jvernee
-------------
PR: https://git.openjdk.org/jdk20/pull/92
More information about the core-libs-dev
mailing list