Generating and applying patches to computer program code concurrently with its execution
Abstract
A method and data processing system are disclosed for concurrently loading a plurality of new modules while code of a plurality of modules of an original (i.e., currently running) computer program is loaded and executed on a computer system. The method may include allocating a module thread local storage (TLS) block for each thread within an initial computer program, wherein the allocated module TLS blocks are large enough to hold all module thread variables that are loaded or to be loaded. The method further may include providing constant offsets between module TLS block pointers corresponding to the module TLS blocks and the module thread variables for all of the threads. The disclosed method may be used to add modules to the original computer program and/or to apply a concurrent patch by replacing one or more of the plurality of original computer program modules.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 44 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for applying a patch by concurrently loading a plurality of new modules while code of a plurality of modules of an original computer program is loaded and executed on a computer system, the method comprising: allocating a module thread local storage (TLS) block for each thread within an initial computer program, wherein the module TLS blocks are large enough to hold all module thread variables that are loaded or to be loaded, and wherein the module TLS blocks are allocated consecutively, with the same layout for each thread; providing constant offsets between module TLS block pointers
- Claim 2Depends on #1
The method of claim 1 , further co
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (44)
Non-Patent Literature (3)
- Cain et al. "Memory Ordering: A Value-Based Approach." Proceedings of the 31st Annual International Symposiu on Computer Architecture (ISCA '04), Jun. 2004.
- Costa, Glauber De Oliveira et al. "Speeding Up Thread-Local Storage Access in Dynamic Libraries in the ARM platform." Proceedings of the GCC Developers Summit, Jun. 2006.
- Drepper, Ulrich. "ELF Handling for Thread-Local Storage." Version 0.20, Feb. 8, 2003. Red Flat Inc. http://people.redhat.com/drepper/tls.pdf.