摘要
考虑到用户级二进制翻译(BT)系统需要支持在应用程序特别是多线程程序中广泛使用的信号机制,研究了用户级BT系统中的信号处理问题。详细分析了BT系统在处理信号时存在的各种问题,在此基础上设计了一种新的BT系统执行框架,用以降低用户级BT系统由于同时处理自己的信号和访客程序的信号造成的信号处理复杂度;提出了BT系统的信号隔离机制,用以避免BT系统处理信号时出现信号丢失和死锁问题,有效提高信号处理的健壮性。该机制的性能和有效性已通过测试试验得到验证。
The signal handling in user-level binary translation (BT) systems was studied with the consideration that userlevel BT systems must support the signal mechanism widely used in applied programs, especially in the multi-threaded ones framework their own avoid the handling. Based on the detailed analysis of the various problems in BT systems' signal handling, a new execution for BT systems was designed to lower the signal handling complexity caused by simultaneous handling of signals and the signals generated by guest programs, and a signal isolation mechanism was proposed to problems of signal losing and deadlock in signal handling to effectively improve the robustness of signal The performance and the effectiveness of the proposed mechanism were verified by test.
出处
《高技术通讯》
CAS
CSCD
北大核心
2015年第6期543-551,共9页
Chinese High Technology Letters
基金
国家自然科学基金(61303052
61332009
61303051
60925009)
国家自然科学基金创新群体(61221062)
863计划(2012AA010901)
973计划(2011CB302504)资助项目
关键词
用户级二进制翻译(BT)
信号处理
多线程框架
信号隔离
user-level binary translation( BT), signal handling, multi-thread framework, signal isolation