Pilot Study of Progvis: A Visualization Tool for Object Graphs and Concurrency via Shared Memory

Filip Strömbäck, Linda Mannila, Mariam Kamkar
{"title":"Pilot Study of Progvis: A Visualization Tool for Object Graphs and Concurrency via Shared Memory","authors":"Filip Strömbäck, Linda Mannila, Mariam Kamkar","doi":"10.1145/3511861.3511885","DOIUrl":null,"url":null,"abstract":"Concurrency and synchronization are two topics that are becoming increasingly important for computer science students due to the high number of cores available in most modern devices. These are topics that many students struggle with at first, perhaps partially due to the inherent nondeterminism and the difficulty to test for absence of race conditions. Furthermore, previous research indicate that some common mistakes when working with concurrency might be due students not connecting the concurrency concepts (such as synchronization) to the data that needs to be protected, especially when pointers and references are involved. To address these issues, we propose Progvis, which is a visualization tool aimed specifically at concurrency using the shared memory model. It provides a detailed visualization of objects in memory and their relation to the running threads in order to help students connect concurrency issues with the affected data. We have performed an initial, small scale evaluation on whether using the tool helps students solve synchronization problems during voluntary problem-solving sessions. The preliminary results indicate that students who used the tool did indeed perform better.","PeriodicalId":175694,"journal":{"name":"Proceedings of the 24th Australasian Computing Education Conference","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-02-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 24th Australasian Computing Education Conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3511861.3511885","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Concurrency and synchronization are two topics that are becoming increasingly important for computer science students due to the high number of cores available in most modern devices. These are topics that many students struggle with at first, perhaps partially due to the inherent nondeterminism and the difficulty to test for absence of race conditions. Furthermore, previous research indicate that some common mistakes when working with concurrency might be due students not connecting the concurrency concepts (such as synchronization) to the data that needs to be protected, especially when pointers and references are involved. To address these issues, we propose Progvis, which is a visualization tool aimed specifically at concurrency using the shared memory model. It provides a detailed visualization of objects in memory and their relation to the running threads in order to help students connect concurrency issues with the affected data. We have performed an initial, small scale evaluation on whether using the tool helps students solve synchronization problems during voluntary problem-solving sessions. The preliminary results indicate that students who used the tool did indeed perform better.
Progvis的初步研究:一个通过共享内存实现对象图和并发的可视化工具
由于大多数现代设备中可用的核心数量众多,并发和同步是计算机科学专业学生越来越重要的两个主题。这些都是许多学生一开始遇到的问题,部分原因可能是由于固有的不确定性和缺乏竞争条件的测试困难。此外,先前的研究表明,处理并发时的一些常见错误可能是由于学生没有将并发概念(如同步)与需要保护的数据联系起来,特别是在涉及指针和引用时。为了解决这些问题,我们提出了Progvis,这是一个专门针对使用共享内存模型实现并发性的可视化工具。它提供了内存中对象及其与运行线程关系的详细可视化,以帮助学生将并发问题与受影响的数据联系起来。我们已经进行了初步的小规模评估,以确定使用该工具是否有助于学生在自愿解决问题的会议中解决同步问题。初步结果表明,使用该工具的学生确实表现得更好。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信