发明名称 Method and system for executing an executable file
摘要 A method for executing an executable file. The method includes executing instructions in the executable file by a first process, receiving a write request from a second process to write to the executable file, generating an anonymous file from the executable file in response to the write request, executing the anonymous file by the first process, and accessing the executable file by the second process.
申请公布号 US8930894(B2) 申请公布日期 2015.01.06
申请号 US200812247797 申请日期 2008.10.08
申请人 Oracle America, Inc. 发明人 Zolnowsky John E.;Cameron George R.;Jones Blake A.
分类号 G06F9/44;G06F17/30;G06F9/445 主分类号 G06F9/44
代理机构 Osha Liang LLP 代理人 Osha Liang LLP
主权项 1. A method for executing an executable file, comprising: executing original instructions in the executable file by a first process, wherein the executable file comprises a plurality of pages, and wherein executing instructions in the executable file comprises: accessing an original vnode to obtain a reference to a page of the plurality of pages, wherein the original vnode comprises a reference to each page of the plurality of pages in main memory, a reference to the executable file in a file storage, and an instruction defining when to create an anonymous file;accessing the page of the plurality of pages using the reference to the page from the original vnode, andexecuting instructions from the page of the plurality of pages while the page is in main memory; receiving a write request from a second process to write to the executable file; generating, from the executable file in response to the write request, the anonymous file comprising the original instructions based on the instruction in the original vnode defining when to create the anonymous file; executing the original instructions in the anonymous file by the first process; modifying, after generating the anonymous file, the executable file by the second process to create modified instructions in the executable file; and reclaiming file storage space storing the anonymous file after executing the anonymous file by the first process completes.
地址 Redwood Shores CA US