Metrics-based analysis of thread behavior using an aspect-oriented programming approach

Understanding thread behavior makes multi-threaded programming easier. Thread behavior can be observed by calculating metrics that are driven from thread state changes and time durations spent in those states. This paper presents the design and implementation of a new thread profiler that builds on...

Full description

Saved in:
Bibliographic Details
Published in:2011 IEEE International Conference on Computer Science and Automation Engineering Vol. 2; pp. 25 - 32
Main Authors: Alan, O., Erdogan, N.
Format: Conference Proceeding
Language:English
Published: IEEE 01.06.2011
Subjects:
ISBN:9781424487271, 1424487277
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Understanding thread behavior makes multi-threaded programming easier. Thread behavior can be observed by calculating metrics that are driven from thread state changes and time durations spent in those states. This paper presents the design and implementation of a new thread profiler that builds on aspect-oriented programming (AOP) approach and its use on multi-threaded applications. The new profiler differs from existing profilers in that it adopts a metrics based approach, calculating certain metrics for threads profiled. Also presented is a method to retrieve exact time information at the machine level from the JVM context. The paper concludes with a description of results obtained for thread profiling and metric calculations and a comparison of the overhead the profiler introduces with that of other profilers.
ISBN:9781424487271
1424487277
DOI:10.1109/CSAE.2011.5952416