Method and system for fast unlinking of a linked branch in a caching dynamic translator
US6725335B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jan 5, 2001 |
| Grant date | Apr 20, 2004 |
| Priority date | — |
| Expiry date | May 10, 2021 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2201/885
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
In a system and method for linking and unlinking code fragments stored in a code cache, a memory area is associated with a branch in a first code fragment that branches outside the cache. If the branch can be set to branch to a location in a second code fragment stored in the cache, branch reconstruction information is stored in the memory area associated with the branch, and the branch instruction is updated to branch to the location in the second code fragment, thereby linking the first code fragment to the second code fragment. If it is determined that the previously linked branch should be unlinked, the first and second code fragments at that branch are unlinked by reading the information stored in the associated memory area at the time of linking, and using that information to reset the branch to its state prior to the linking.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.