MemorySegment es una vista delimitada y escrita de un bloque de memoria contiguo, en el montón de Java, fuera del montón (nativo) o mapeado desde un archivo. Arena controla cuándo esa memoria está viva y cuándo se libera. Juntos brindan garantías de seguridad de la memoria similares al modelo de propiedad de Rust, evitando el acceso libre y fuera de límites.

Tipos de arena y sus vidas
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.