首页> 外国专利> Detecting a state change in a lock structure to validate a potential deadlock

Detecting a state change in a lock structure to validate a potential deadlock

机译:在锁结构中检测状态变化以验证潜在的死锁

摘要

A mechanism for deadlock validation is provided. A potential deadlock is validated by detecting whether a state change has occurred in a member of a set of lock structures that correspond to entities and resources involved in a potential deadlock. The state change detected should have occurred after the state of the lock structures is captured during, for example, the generation of a wait-for graph. For purposes of illustration, potential deadlocks are identified by generating a wait-for graph and detecting cycles in the wait-for graph. While generating wait-for graphs, lock structures are accessed to determine whether a vertex in the wait-for graph should be generated, and the place of the vertex in the wait-for graph. After accessing a particular lock structure for this purpose, the lock structure's state is captured. If the state of the lock structure changes after the state is captured, then any cycle that includes the lock structure may not be valid, and a potential deadlock identified by the cycle is deemed a false deadlock.
机译:提供了用于死锁验证的机制。通过检测与对应于潜在死锁的实体和资源的一组锁定结构的成员中是否发生了状态更改,可以验证潜在死锁。检测到的状态变化应该在例如生成等待图形期间捕获锁定结构的状态之后发生。为了说明起见,通过生成等待图并检测等待图中的周期来识别潜在的死锁。在生成等待图时,访问锁结构以确定是否应生成等待图中的顶点,以及顶点在等待图中的位置。为此目的访问特定的锁结构后,将捕获锁结构的状态。如果在捕获状态后锁结构的状态发生变化,则包括该锁结构的任何周期都可能无效,并且由该周期标识的潜在死锁被认为是错误的死锁。

著录项

  • 公开/公告号US6304938B1

    专利类型

  • 公开/公告日2001-10-16

    原文格式PDF

  • 申请/专利权人 ORACLE CORPORATION;

    申请/专利号US19990256330

  • 发明设计人 ALOK KUMAR SRIVASTAVA;

    申请日1999-02-23

  • 分类号G06F130/00;G06F95/20;

  • 国家 US

  • 入库时间 2022-08-22 01:03:03

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号