Invention Grant
- Patent Title: Function exit instrumentation for tail-call optimized code
-
Application No.: US13848191Application Date: 2013-03-21
-
Publication No.: US10089126B2Publication Date: 2018-10-02
- Inventor: Radu Rugina , Ricardo E. Gonzalez , Zheng He , Alok Kataria
- Applicant: VMware, Inc.
- Applicant Address: US CA Palo Alto
- Assignee: VMware, Inc.
- Current Assignee: VMware, Inc.
- Current Assignee Address: US CA Palo Alto
- Agency: Patterson & Sheridan, LLP
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F9/48 ; G06F11/34

Abstract:
Function exits are instrumented in tail-call optimized code in which calls to target functions and return instructions are replaced by jump instructions. A probe engine identifies a tail-call jump and instruments the jumps to raise an exception. In response to an exception raised at the tail-call jump, an exception handler loads various registers and transferring control to a trampoline, which calls the jump target. After the target function returns, an exit probe is fired when the trampoline itself returns.
Public/Granted literature
- US20140289726A1 FUNCTION EXIT INSTRUMENTATION FOR TAIL-CALL OPTIMIZED CODE Public/Granted day:2014-09-25
Information query