Efficient Sampling-based Lock Contention Profiling for Java

  • Andreas Schörgenhumer (Speaker)

Activity: Talk or presentationContributed talkscience-to-science

Description

Concurrent code commonly uses locks. Choosing between simpler but less scalable and more sophisticated but error-prone locking mechanisms is difficult during development. Therefore, lock contention analysis at run-time is crucial to aid such decisions. We present a novel sampling-based approach for collecting detailed information on lock contention in Java applications by using the Java Virtual Machine Tool Interface (JVMTI) and bytecode instrumentation. We support both intrinsic locks as well as java.util.concurrent locks. Moreover, we can determine not only where contention occurs but also where it is caused. With a mean run-time overhead of about 5%, we consider our approach suitable for use in production environments.
Period26 Apr 2017
Event titleProceedings 8th ACM/SPEC International Conference on Performance Engineering (ICPE 2017)
Event typeConference
LocationItalyShow on map

Fields of science

  • 102 Computer Sciences
  • 102022 Software development
  • 102025 Distributed systems

JKU Focus areas

  • Computation in Informatics and Mathematics
  • Engineering and Natural Sciences (in general)