首页> 外文期刊>International Journal on Software Tools for Technology Transfer >On piggyback runtime monitoring of object-oriented programs
【24h】

On piggyback runtime monitoring of object-oriented programs

机译:在搭载运行时监视面向对象的程序

获取原文
获取原文并翻译 | 示例
           

摘要

A runtime monitor enforcing a constraint on sequences of method calls on an object involves the implementation of an independent piece of code called a monitor. This monitor intercepts relevant events in the program and must keep track of the state of the sequence by updating an appropriate state machine. The present paper stems from the observation that an object's member fields must already contain an encoding of that state machine and that a monitor essentially duplicates operations that the object performs internally. Rather than maintaining a state machine in parallel, the paper puts forward the concept of "piggyback" runtime monitoring, where the monitor relies as much as possible on the object's own state variables to perform its task. Experiments on real-world benchmarks show that this approach greatly simplifies the monitoring process and drastically reduces the incurred runtime overhead compared to classical solutions.
机译:对对象的方法调用序列施加约束的运行时监视器涉及称为监视器的独立代码段的实现。该监视器拦截程序中的相关事件,并且必须通过更新适当的状态机来跟踪序列的状态。本文基于这样的观察:对象的成员字段必须已经包含该状态机的编码,并且监视器实质上复制了对象在内部执行的操作。本文不是并行维护状态机,而是提出了“搭载”运行时监视的概念,该监视尽可能多地依靠对象自身的状态变量来执行其任务。实际基准测试表明,与传统解决方案相比,此方法大大简化了监视过程,并大大减少了所产生的运行时开销。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号