[jdk20] RFR: 8299862: OfAddress setter should disallow heap segments
Maurizio Cimadamore
mcimadamore at openjdk.org
Tue Jan 10 14:12:06 UTC 2023
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.
-------------
Commit messages:
- Initial push
Changes: https://git.openjdk.org/jdk20/pull/92/files
Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=92&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8299862
Stats: 27 lines in 5 files changed: 23 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk20/pull/92.diff
Fetch: git fetch https://git.openjdk.org/jdk20 pull/92/head:pull/92
PR: https://git.openjdk.org/jdk20/pull/92
More information about the core-libs-dev
mailing list