Lifetimes in the FFM API
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Mon Jan 23 13:35:02 UTC 2023
Hi,
as promised, we have just published a writeup on the role of lifetimes
in the FFM API:
https://inside.java/2023/01/23/lifetimes-in-the-ffm-api/
This document should be useful to understand the rationale behind the
lifetime-centric approach of the FFM API, as well as to show some
non-obvious ways in which clients can take advantage of what the API
provides, e.g. to model external allocation in a safe manner and/or to
define custom closeable allocators.
Cheers
Maurizio
More information about the panama-dev
mailing list