[jdk20] RFR: 8299862: OfAddress setter should disallow heap segments
Jorn Vernee
jvernee at openjdk.org
Tue Jan 10 14:25:04 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.
Thanks for fixing.
-------------
Marked as reviewed by jvernee (Reviewer).
PR: https://git.openjdk.org/jdk20/pull/92
More information about the core-libs-dev
mailing list