Invention Application
- Patent Title: RESOURCE CLOSING
- Patent Title (中): 资源关闭
-
Application No.: US14594623Application Date: 2015-01-12
-
Publication No.: US20160202956A1Publication Date: 2016-07-14
- Inventor: Filip Eliás , Filip Nguyen
- Applicant: Red Hat, Inc.
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/445 ; G06F9/45

Abstract:
A method performed by a computing system includes: with a resource monitoring module, providing to a code transformation module, a set of references to methods within a source code, the methods comprising code associated with a resource, with the code transformation module, creating a modified source code by inserting new code into the source code, the new code to close the resource at the end of each method referenced by the set of references, compiling the modified source code to create an application, with the resource monitoring module, during execution of the application, determining that an exception has occurred as a result of an attempt to access the resource when the resource is closed, and with the resource monitoring module, updating the set of references to include a new reference to a new method, the new method corresponding to the exception.
Public/Granted literature
- US10055209B2 Resource closing Public/Granted day:2018-08-21
Information query