-
公开(公告)号:US20250036749A1
公开(公告)日:2025-01-30
申请号:US18917832
申请日:2024-10-16
Applicant: Oracle International Corporation
Inventor: Roland Schatz , Christian Haeubl , Matthias Grimmer
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.
-
公开(公告)号:US11663321B2
公开(公告)日:2023-05-30
申请号:US16722714
申请日:2019-12-20
Applicant: Oracle International Corporation
Inventor: Roland Schatz , Christian Haeubl , Matthias Grimmer
CPC classification number: G06F21/52 , G06F21/53 , G06F2221/033
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.
-
公开(公告)号:US20210192042A1
公开(公告)日:2021-06-24
申请号:US16722714
申请日:2019-12-20
Applicant: Oracle International Corporation
Inventor: Roland Schatz , Christian Haeubl , Matthias Grimmer
IPC: G06F21/52
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.
-
公开(公告)号:US12147529B2
公开(公告)日:2024-11-19
申请号:US18304283
申请日:2023-04-20
Applicant: Oracle International Corporation
Inventor: Roland Schatz , Christian Haeubl , Matthias Grimmer
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.
-
公开(公告)号:US20230259611A1
公开(公告)日:2023-08-17
申请号:US18304283
申请日:2023-04-20
Applicant: Oracle International Corporation
Inventor: Roland Schatz , Christian Haeubl , Matthias Grimmer
IPC: G06F21/52
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.
-
-
-
-