Back to search

University of Ontario Institute of Technology

Clustering analysis of lock contention fault types using run-time performance metrics for java intrinsic locks

Abstract

dc:description.abstract

Locks are essential in java-based multi-threaded applications as this mechanism provides a proper solution to synchronizing shared resources. However, improper management of locks and threads can lead to contention; as a result, it causes performance degradation and prevent java application from further scaling. These types of faults are challenging to debug because they are caused by complex interactions among the threads and can only be detected at run time. Nowadays, performance engineers use legacy tools and their experience to determine causes of lock contention. In this research, a clustering-based approach is presented to help identify the type of lock contention fault to facilitate the procedure that performance engineers follow, intending to support developers with less experience eventually. The classifier is based on the premise that if lock contention exists it is reflected as either a) threads spend too much time inside the critical section and/or b) threads’ high frequency access to the locked resources. Our results show that a classifier can be effectively trained to detect lock contention caused by high hold time and contention due to high frequency with which threads send access requests to the locked resources.

Degree

thesis:*
Name thesis:degree_name
Master of Applied Science (MASc)
Level thesis:degree_level
Master of Applied Science (MASc)
Discipline thesis:degree_discipline
Electrical and Computer Engineering
Grantor
University of Ontario Institute of Technology
Year dc:date.issued
2022

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hasan Khan, Nahid
Advisors dc:contributor.advisor
  • Azim, Akramul
  • Liscano, Ramiro

Subjects

dc:subject × 5

Rights

Language dc:language.iso
en

Identifiers

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

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

Hasan Khan, Nahid. Clustering analysis of lock contention fault types using run-time performance metrics for java intrinsic locks. Master of Applied Science (MASc) thesis, University of Ontario Institute of Technology, 2022. https://hdl.handle.net/10155/1422