• DocumentCode
    2901752
  • Title

    Towards Detecting Thread Deadlock in Java Programs with JVM Introspection

  • Author

    Wen, Yan ; Zhao, Jinjing ; Huang, Minhuan ; Chen, Hua

  • Author_Institution
    Beijing Inst. of Syst. Eng., Beijing, China
  • fYear
    2011
  • fDate
    16-18 Nov. 2011
  • Firstpage
    1600
  • Lastpage
    1607
  • Abstract
    Abstract-Deadlock is a common error for multithread Java programs. Existing Java thread deadlock detection solutions either require source code, or are built on non-official JVMs. In a consequence, a great number of Java programs cannot be evaluated with these solutions. This paper proposes a new Java thread deadlock detection approach, namely JDeadlockDetector. JDeadlockDetector is built on the official Java Virtual Machine (JVM), viz., OpenJDK´s HotSpot. Compared to existing methods, JDeadlockDetector archieves three unique advantages, i.e., application transparency, detection accuracy and minimized performance overhead. Our functionality evaluation shows JDeadlockDetector achieves no false negative and minimized false positive while the performance evaluation shows the workloads generated by SPECjbb2005 achieve 96.7% of official JVM speed on average.
  • Keywords
    Java; concurrency control; multi-threading; virtual machines; JDeadlockDetector; JVM introspection; Java thread deadlock detection; Java virtual machine; OpenJDK HotSpot; application transparency; detection accuracy; multithread Java programs; performance overhead minimization; source code; Engines; Instruction sets; Java; Monitoring; Optimization; Synchronization; System recovery; JVM; Java; deadlock detection;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Trust, Security and Privacy in Computing and Communications (TrustCom), 2011 IEEE 10th International Conference on
  • Conference_Location
    Changsha
  • Print_ISBN
    978-1-4577-2135-9
  • Type

    conf

  • DOI
    10.1109/TrustCom.2011.222
  • Filename
    6121018