Font Size: a A A

Library Function Disposing And Code Cache Management In Binary Translation

Posted on:2007-12-03Degree:MasterType:Thesis
Country:ChinaCandidate:H YangFull Text:PDF
GTID:2178360185454122Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
Binary translation is an important technique to resolve the problem of code migration. Theresearch on binary translation and the related optimization, have significant meanings in manyfields, such as legacy code migration, hardware design, program performance improvement,network application, and system security, so this research becomes popular in compiler techniquefield.The research background, the related concepts, and some means of binarytranslation areintroduced first. Then two binary translation systems, Digital Bridge and Digital Bridge Version2,which are both developed by us, are introduced. Followed we have a research about twoproblems in the field. At last, conclude the whole paper and view the future work.The thesis mainly comprises two parts:In the first part, issue about disposing the library functions call fast and efficiently in the binarytranslation system is discussed. Different from the other methods about the problem, onealgorithm with classified thingking is presented to dispose the problem, which is based on thedynamic binary translator integrated with static pre-translator. This method makes use of themerit of dynamic translation and static translation, and makes use of the convention of thefunction call on the target processor to reduce the redundant memory access. So the performancehas been improved greatly.In the second part, issue about managing the code cache efficiently in the binary translationtechnology is discussed. By analyzing the familiar Code Cache management schemes, a newmanagement scheme is presented. It integrates the merit of the full flush scheme, FIFO schemeand multi-level cache, and takes the temporal and spatial locality and code replacing overheadinto account. By doing experiments, confirm the parameter in the scheme and compare with theother Code Cache management scheme. It prove out the method in this thesis has goodperformance and efficiently manages the code cache.
Keywords/Search Tags:Binary Translation, Library Function Dispose, Jacket Library Function, PLT-Shortcut Library Function, Code Cache, LRC Scheme
PDF Full Text Request
Related items