Invention Grant
- Patent Title: Hybrid managed and unmanaged data model
-
Application No.: US18304283Application Date: 2023-04-20
-
Publication No.: US12147529B2Publication Date: 2024-11-19
- Inventor: Roland Schatz , Christian Haeubl , Matthias Grimmer
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Kowert, Hood, Munyon, Rankin & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F21/00
- IPC: G06F21/00 ; G06F21/52 ; G06F21/53

Abstract:
A computer comprising processors and memory may implement an application execution engine to execute an application including both managed code and unmanaged code, the managed code providing memory safety for accesses to objects in memory and the unmanaged code providing no such safety. Responsive to a request from managed code, the application execution engine allocates memory for an object in a managed pool and the object is accessible to managed code in a managed state. Responsive to a requirement for unmanaged code to access the managed object, the application execution engine transforms the object to be accessible in an unmanaged state, the transformation including allocating memory for the object in an unmanaged pool, copying data from managed memory to unmanaged memory according to a predetermined unmanaged layout, releasing the managed memory and using an address of the unmanaged memory to access the object in the unmanaged state.
Public/Granted literature
- US20230259611A1 Hybrid Managed and Unmanaged Data Model Public/Granted day:2023-08-17
Information query