Oracle Corporation
METHODS FOR REDUCING UNSAFE MEMORY ACCESS WHEN INTERACTING WITH NATIVE LIBRARIES

Last updated:

Abstract:

Techniques for reducing unsafe memory access, particularly when interacting with native libraries, are disclosed. The system may receive a memory address. The system may determine that the received memory address is not associated with an existing memory segment. The system selects a particular memory segment, of a plurality of memory segments. The memory segment may have a length of zero and a size corresponding to a size of a native heap. The system may return a reference to the particular memory segment.

Status:
Application
Type:

Utility

Filling date:

15 Mar 2021

Issue date:

7 Oct 2021