Invention Grant
- Patent Title: Lazy copying of runtime-managed stack frames
-
Application No.: US16241608Application Date: 2019-01-07
-
Publication No.: US10908910B2Publication Date: 2021-02-02
- Inventor: Erik Duveblad , Ron Pressler
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Invoke
- Main IPC: G06F9/34
- IPC: G06F9/34 ; G06F9/445 ; G06F9/52 ; G06F9/46

Abstract:
Techniques for lazy copying of runtime-managed stack frames are disclosed. A runtime environment generates a runtime-managed stack including multiple frames. A topmost subset of frames includes data associated with particular instructions and a return address. A lower subset of frames includes data associated with different instructions. The runtime environment stores a copy of the topmost subset of frames in an OS-managed stack, without copying the lower subset. The particular instructions execute using the copy of the topmost subset of frames in the OS-managed stack. The runtime environment replaces, in the copy, the return address with a return barrier address. When execution of the instructions terminates, control passes to return barrier instructions, which store a copy of the lower subset of frames in the OS-managed stack and pass control to the different instructions. The different instructions execute using the copy of the lower subset of frames in the OS-managed stack.
Public/Granted literature
- US20200034150A1 LAZY COPYING OF RUNTIME-MANAGED STACK FRAMES Public/Granted day:2020-01-30
Information query