A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming

Real-time collaborative programming allows a team of programmers to concurrently edit the shared source code document at the same time. To support semantic conflict prevention in real-time collaborative programming, a dependency-based automatic locking (DAL) approach was proposed in prior work, whic...

Full description

Saved in:
Bibliographic Details
Main Authors: Fan, Hongfei, Zhu, Hongming, Liu, Qin, Shi, Yang, Sun, Chengzheng
Other Authors: School of Computer Science and Engineering
Format: Article
Language:English
Published: 2017
Subjects:
Online Access:https://hdl.handle.net/10356/86863
http://hdl.handle.net/10220/44233
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-86863
record_format dspace
spelling sg-ntu-dr.10356-868632020-03-07T11:48:58Z A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming Fan, Hongfei Zhu, Hongming Liu, Qin Shi, Yang Sun, Chengzheng School of Computer Science and Engineering Dependency-based Automatic Locking (DAL) Locking State Update Real-time collaborative programming allows a team of programmers to concurrently edit the shared source code document at the same time. To support semantic conflict prevention in real-time collaborative programming, a dependency-based automatic locking (DAL) approach was proposed in prior work, which automatically grants locks on source code regions with dependency relationships. The prior DAL scheme was devised under two assumptions that are not realistic, and together with other restrictions, they become serious problems in applying the DAL approach and techniques in real-world programming scenarios. To address the issues under the prior DAL scheme, this paper presents a novel DAL scheme with a shared-locking approach, which ensures the responsiveness, effectiveness, and consistency of semantic conflict prevention in unconstrained real-time collaborative programming. Under the novel DAL scheme, programmers can perform concurrent editing operations with overlapping locking scopes and perform editing operations that may dynamically change the source code structure, while three types of shared-locking are allowed under well-defined circumstances with reasonable design rationales. In addition, we have presented major technical issues and solutions in realizing the scheme, which has been implemented in a research prototype. Experimental evaluations have confirmed the good performance of the novel DAL scheme and its supporting techniques. MOE (Min. of Education, S’pore) Published version 2017-12-29T02:19:03Z 2019-12-06T16:30:27Z 2017-12-29T02:19:03Z 2019-12-06T16:30:27Z 2017 Journal Article Fan, H., Zhu, H., Liu, Q., Shi, Y., & Sun, C. (2017). A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming. IEEE Access, 5, 22566-22583. https://hdl.handle.net/10356/86863 http://hdl.handle.net/10220/44233 10.1109/ACCESS.2017.2760914 en IEEE Access © 2017 IEEE. Translations and content mining are permitted for academic research only. Personal use is also permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information. 18 p. application/pdf
institution Nanyang Technological University
building NTU Library
country Singapore
collection DR-NTU
language English
topic Dependency-based Automatic Locking (DAL)
Locking State Update
spellingShingle Dependency-based Automatic Locking (DAL)
Locking State Update
Fan, Hongfei
Zhu, Hongming
Liu, Qin
Shi, Yang
Sun, Chengzheng
A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming
description Real-time collaborative programming allows a team of programmers to concurrently edit the shared source code document at the same time. To support semantic conflict prevention in real-time collaborative programming, a dependency-based automatic locking (DAL) approach was proposed in prior work, which automatically grants locks on source code regions with dependency relationships. The prior DAL scheme was devised under two assumptions that are not realistic, and together with other restrictions, they become serious problems in applying the DAL approach and techniques in real-world programming scenarios. To address the issues under the prior DAL scheme, this paper presents a novel DAL scheme with a shared-locking approach, which ensures the responsiveness, effectiveness, and consistency of semantic conflict prevention in unconstrained real-time collaborative programming. Under the novel DAL scheme, programmers can perform concurrent editing operations with overlapping locking scopes and perform editing operations that may dynamically change the source code structure, while three types of shared-locking are allowed under well-defined circumstances with reasonable design rationales. In addition, we have presented major technical issues and solutions in realizing the scheme, which has been implemented in a research prototype. Experimental evaluations have confirmed the good performance of the novel DAL scheme and its supporting techniques.
author2 School of Computer Science and Engineering
author_facet School of Computer Science and Engineering
Fan, Hongfei
Zhu, Hongming
Liu, Qin
Shi, Yang
Sun, Chengzheng
format Article
author Fan, Hongfei
Zhu, Hongming
Liu, Qin
Shi, Yang
Sun, Chengzheng
author_sort Fan, Hongfei
title A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming
title_short A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming
title_full A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming
title_fullStr A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming
title_full_unstemmed A Novel DAL Scheme With Shared-Locking for Semantic Conflict Prevention in Unconstrained Real-Time Collaborative Programming
title_sort novel dal scheme with shared-locking for semantic conflict prevention in unconstrained real-time collaborative programming
publishDate 2017
url https://hdl.handle.net/10356/86863
http://hdl.handle.net/10220/44233
_version_ 1681042356043776000