首页> 外国专利> DATA RACE DETECTION WITH PER-THREAD MEMORY PROTECTION

DATA RACE DETECTION WITH PER-THREAD MEMORY PROTECTION

机译:数据竞争检测每线程内存保护

摘要

Data race detection in multi-threaded programs can be achieved by leveraging per-thread memory protection technology in conjunction with a custom dynamic memory allocator to protect shared memory objects with unique memory protection keys, allowing data races to be turned into inter-thread memory access violations. In various embodiments, threads acquire or release the keys used for accessing protected memory objects at the entry and exit points of critical sections within the program. An attempt by a thread to access a protected memory object within a critical section without the associated key triggers a protection fault, which may be indicative of a data race.
机译:多线程程序中的数据竞争检测可以通过利用每线程存储器保护技术结合自定义动态内存分配器来保护共享内存对象,以保护共享内存对象具有唯一的内存保护键,允许将数据竞争变为线程间存储器访问违规行为。在各种实施例中,线程获取或释放用于在程序内的关键部分的条目和退出点处获取或释放用于访问受保护的存储器对象的密钥。通过线程在没有相关密钥的关键部分内访问受保护的存储器对象的尝试触发保护错误,这可以指示数据竞争。

著录项

  • 公开/公告号US2021232441A1

    专利类型

  • 公开/公告日2021-07-29

    原文格式PDF

  • 申请/专利权人 MICROSOFT TECHNOLOGY LICENSING LLC;

    申请/专利号US202016752470

  • 发明设计人 SANGHO LEE;ADIL AHMAD;

    申请日2020-01-24

  • 分类号G06F9/52;G06F9/54;G06F12/084;G06F12/10;

  • 国家 US

  • 入库时间 2022-08-24 20:13:58

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号