Refactoring-based learning for fine-grained lock in concurrent programming course

被引:3
|
作者
Zhang, Yang [1 ]
机构
[1] Hebei Univ Sci & Technol, Sch Informat Sci & Engn, Shijiazhuang 050000, Hebei, Peoples R China
关键词
computer education; concurrent programming; fine-grained lock; learning effectiveness; refactoring tools;
D O I
10.1002/cae.22469
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Fine-grained lock is frequently used to mitigate lock contention in the multithreaded program running on a shared-memory multicore processor. However, a concurrent program based on the fine-grained lock is hard to write, especially for beginners in the concurrent programming course. How to help participants learn fine-grained lock has become increasingly important and urgent. To this end, this paper presents a novel refactoring-based approach to enhance the learning effectiveness of fine-grained locks. Two refactoring tools are introduced to provide illustrating examples for participants by converting original coarse-grained locks into fine-grained ones automatically. Learning effectiveness and limitations are discussed when refactoring tools are applied. We evaluate students' outcomes with two benchmarks and compare their performance in Fall 2018 with those in Fall 2019. We also conduct experiments on students' outcomes by dividing them into two groups (A and B) in a controlled classroom where participants in group A learn the fine-grained locks with the help of refactoring tools while those in group B do not access these tools. Evaluation of the results when they have been taught with the refactoring-based approach reveals a significant improvement in the students' learning.
引用
收藏
页码:505 / 516
页数:12
相关论文
共 50 条
  • [21] Fine-Grained Partial Label Learning
    Chen, Cheng
    Lyu, Yueming
    Yu, Xingrui
    Li, Jing
    Tsang, Ivor W.
    2024 IEEE CONFERENCE ON ARTIFICIAL INTELLIGENCE, CAI 2024, 2024, : 587 - 596
  • [22] The Fine-Grained Impact of Gaming (?) on Learning
    Gong, Yue
    Beck, Joseph E.
    Heffernan, Neil T.
    Forbes-Summers, Elijah
    INTELLIGENT TUTORING SYSTEMS, PT 1, PROCEEDINGS, 2010, 6094 : 194 - 203
  • [23] Fine-Grained Classification of Hyperspectral Imagery Based on Deep Learning
    Chen, Yushi
    Huang, Lingbo
    Zhu, Lin
    Yokoya, Naoto
    Jia, Xiuping
    REMOTE SENSING, 2019, 11 (22)
  • [24] A Survey of Fine-Grained Visual Categorization Based on Deep Learning
    Xie, Yuxiang
    Gong, Quanzhi
    Luan, Xidao
    Yan, Jie
    Zhang, Jiahui
    JOURNAL OF SYSTEMS ENGINEERING AND ELECTRONICS, 2024, 35 (06) : 1337 - 1356
  • [25] A model for fine-grained vehicle classification based on deep learning
    Yu, Shaoyong
    Wu, Yun
    Li, Wei
    Song, Zhijun
    Zeng, Wenhua
    NEUROCOMPUTING, 2017, 257 : 97 - 103
  • [26] Fine-grained Android Malware Detection based on Deep Learning
    Li, Dongfang
    Wang, Zhaoguo
    Xue, Yibo
    2018 IEEE CONFERENCE ON COMMUNICATIONS AND NETWORK SECURITY (CNS), 2018,
  • [27] Fine-grained Entity Type Classification Based on Transfer Learning
    Feng J.-Z.
    Ma X.-C.
    Zidonghua Xuebao/Acta Automatica Sinica, 2020, 46 (08): : 1759 - 1766
  • [28] A survey of fine-grained visual categorization based on deep learning
    XIE Yuxiang
    GONG Quanzhi
    LUAN Xidao
    YAN Jie
    ZHANG Jiahui
    Journal of Systems Engineering and Electronics, 2024, 35 (06) : 1337 - 1356
  • [29] A Fine-Grained Outcome-Based Learning Path Model
    Yang, Fan
    Li, Frederick W. B.
    Lau, Rynson W. H.
    IEEE TRANSACTIONS ON SYSTEMS MAN CYBERNETICS-SYSTEMS, 2014, 44 (02): : 235 - 245
  • [30] Region based Ensemble Learning Network for Fine-grained Classification
    Li, Weikuang
    Wang, Tian
    Zhang, Mengyi
    Wang, Chuanyun
    Shan, Guangcun
    Snoussi, Hichem
    2018 CHINESE AUTOMATION CONGRESS (CAC), 2018, : 4173 - 4177