Threading sharing target local code cache replacement method and system in binary translator
A local code and binary technology, applied in memory systems, instruments, program control design, etc., can solve problems such as performance degradation and achieve high-efficiency synchronization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0047] The present invention provides a kind of code cache replacement method based on the FIFO (first in first out) replacement strategy of sub-Unit (unit), comprising:
[0048] Step 1), divide the local code space into N Units of the same size and a Unit that will never be replaced.
[0049] In step 2), the local code is allocated from the current Unit each time, until the capacity of the current Unit reaches the upper limit, and then the local code is allocated from the next Unit.
[0050] Step 3), when the local code space reaches the upper limit of the capacity, the local code is replaced in units according to the FIFO strategy.
[0051] In the step 1), the local code space is a section of memory space allocated in advance by the binary translator.
[0052] In the step 2), the local code space is only allocated for the local code translated from one basic block each time, so one Unit contains local codes of many basic blocks.
[0053] In the step 2), in order to reduce ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com