Object race detection

被引:101
|
作者
von Praun, C [1 ]
Gross, TR [1 ]
机构
[1] Swiss Fed Inst Technol, Lab Software Technol, Dept Comp Sci, CH-8092 Zurich, Switzerland
关键词
D O I
10.1145/504311.504288
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present an on-the-fly mechanism that detects access conflicts in executions of multi-threaded Java programs. Access conflicts are a conservative approximation of data races. The checker tracks access information at the level of objects (object races) rather than at the level of individual variables. This viewpoint allows the checker to exploit specific properties of object-oriented programs for optimization by restricting dynamic checks to those objects that axe identified by escape analysis as potentially shared. The checker has been implemented in collaboration with an ''ahead-of-time'' Java compiler. The combination of static program analysis (escape-analysis) and inline instrumentation during code generation allows us to reduce the runtime overhead of detecting access conflicts. This overhead amounts to about 16-129% in time and less than 25% in space for typical benchmark applications and compares favorably to previously published on-the-fly mechanisms that incurred an overhead of about a factor of 2-80 in time and up to a factor of 2 in space.
引用
收藏
页码:70 / 82
页数:13
相关论文
共 50 条
  • [1] YOLO-RACE: reassembly and convolutional block attention for enhanced dense object detection
    Myeong-Hun Bae
    Sung-Wook Park
    Jun Park
    Se-Hoon Jung
    Chun-Bo Sim
    Pattern Analysis and Applications, 2025, 28 (2)
  • [2] Performance Evaluation of Object Detection Techniques for Object Detection
    Vijayalakshmi, M. N.
    Senthilvadivu, M.
    2016 INTERNATIONAL CONFERENCE ON INVENTIVE COMPUTATION TECHNOLOGIES (ICICT), VOL 3, 2015, : 688 - 693
  • [3] Seamless Detection: Unifying Salient Object Detection and Camouflaged Object Detection
    Liu, Yi
    Li, Chengxin
    Dong, Xiaohui
    Li, Lei
    Zhang, Dingwen
    Xu, Shoukun
    Han, Jungong
    EXPERT SYSTEMS WITH APPLICATIONS, 2025, 274
  • [4] Object detection
    Al Najjar, Mayssaa
    Ghantous, Milad
    Bayoumi, Magdy
    Lecture Notes in Electrical Engineering, 2014, 114 : 97 - 118
  • [5] Described Object Detection: Liberating Object Detection with Flexible Expressions
    Xie, Chi
    Zhang, Zhao
    Wu, Yixuan
    Zhu, Feng
    Zhao, Rui
    Liang, Shuang
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [6] Object Occlusion and Object Removal Detection
    Chai, Yung Joon
    Khor, Siak Wang
    Tay, Yong Haur
    FIFTH INTERNATIONAL CONFERENCE ON DIGITAL IMAGE PROCESSING (ICDIP 2013), 2013, 8878
  • [7] Commutativity Race Detection
    Dimitrov, Dimitar
    Raychev, Veselin
    Vechev, Martin
    Koskinen, Eric
    ACM SIGPLAN NOTICES, 2014, 49 (06) : 305 - 315
  • [8] Learning object motion patterns for anomaly detection and improved object detection
    Basharat, Arslan
    Gritai, Alexei
    Shah, Mubarak
    2008 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, VOLS 1-12, 2008, : 1301 - 1308
  • [9] Federated Object Detection: Optimizing Object Detection Model with Federated Learning
    Yu, Peihua
    Liu, Yunfeng
    ICVISP 2019: PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON VISION, IMAGE AND SIGNAL PROCESSING, 2019,
  • [10] On the effectiveness of contracts as test oracles in the detection and diagnosis of race conditions and deadlocks in concurrent object-oriented software
    Juniper Networks and Carleton University, Ottawa, Canada
    不详
    不详
    Int. Symp. Empir. Softw. Eng. Meas., (10-19):