Back to search

University of Ontario Institute of Technology

Java lock contention antipatterns and their detection within Java code

Abstract

dc:description.abstract

Java Based Multithreaded programs are used in a wide variety of applications and consequently many developers are required to create code designed for synchronized environments. However, finding problems in synchronized code can be a time-consuming task, and an inability to properly find and fix all problems results in contention problems and failures. Currently the approach used to find these problems is to run the code and, if problems are found, further investigate related areas. We have created a static analysis program that examines input Java code and checks it against a series of antipatterns to determine possible issues. The program was tested on several programs designed as examples of the antipatterns, and a set of open-source code. It was found that some of the antipatterns created do appear in open-source java code, and the tool created for their identification was able to reliably locate them in testing and open-source code.

Degree

thesis:*
Name thesis:degree_name
Master of Science (MSc)
Level thesis:degree_level
Master of Science (MSc)
Discipline thesis:degree_discipline
Computer Science
Grantor
University of Ontario Institute of Technology
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Robertson, Joseph
Advisors dc:contributor.advisor
  • Liscano, Ramiro
  • Azim, Akramul

Subjects

dc:subject × 5

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10155/1619

Chain of custody

source
Harvested from
Ontario Institute of Technology
Base URL
ontariotechu.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Robertson, Joseph. Java lock contention antipatterns and their detection within Java code. Master of Science (MSc) thesis, University of Ontario Institute of Technology, 2023. https://hdl.handle.net/10155/1619