• Home
  • Search
  • Preemption-based avoidance of priority inversion for Java
  • Cite Icon22
  • https://doi.org/10.1109/icpp.2004.60Copy DOI Icon

Preemption-based avoidance of priority inversion for Java

  • Aug 15, 2004
  • Adam Welc +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Priority inversion occurs in concurrent programs when low-priority threads hold shared resources needed by some high-priority thread, causing them to block indefinitely. Shared resources are usually guarded by low-level synchronization primitives such as mutual-exclusion locks, semaphores, or monitors. There are two existing solutions to priority inversion. The first, establishing high-level scheduling invariants over synchronization primitives to eliminate priority inversion a priori, is difficult in practice and undecidable in general. Alternatively, run-time avoidance mechanisms such as priority inheritance still force high-priority threads to wait until desired resources are released. We describe a novel compiler and run-time solution to the problem of priority inversion, along with experimental evaluation of its effectiveness. Our approach allows preemption of any thread holding a resource needed by higher-priority threads, forcing it to release its claim on the resource, roll back its execution to the point at which the shared resource was first acquired, and discard any updates made in the interim. The compiler inserts code at synchronization points, permitting rollback of thread execution, and efficient revocation of interim updates. Our design and implementation are realized in the context of IBM's Jikes RVM, a high-quality compiler and runtime system for Java. Our performance results show that throughput of high-priority threads using our scheme can be improved by 30% to 100% when compared with a classical scheduler that does not address priority inversion.

Similar Papers
  • Research Article
  • Citations1

Priority Inheritance Revisited. Towards the conformance of real-time protocols

  • Oct 01, 2005
  • Techniques et sciences informatiques
  • Dieter Zöbel +1
  • Research Article
  • Citations4

Priority inversion with fungible resources

  • Feb 22, 2012
  • ACM SIGAda Ada Letters
  • Gertrude Levine
  • Book Chapter
  • Citations3

Causes, Effects, and Consequences of Priority Inversion in Transaction Processing

  • Jan 01, 2020
  • Sarvesh Pandey +1
  • Book Chapter
  • Citations1

Real-Time Systems

  • Sep 21, 2021
  • Kcs Murti
  • Conference Article
  • Citations2

Research on Subsystem Hybrid Scheduling and Priority Inversion Based uCOS-II

  • Nov 01, 2012
  • Xibo Wang +1
  • Book Chapter
  • Citations1

Achieving Starvation-Freedom with Greater Concurrency in Multi-Version Object-based Transactional Memory Systems

  • Jan 01, 2019
  • Chirag Juyal +4
  • Research Article
  • Citations79

Learning from mistakes

  • Mar 01, 2008
  • ACM SIGPLAN Notices
  • Shan Lu +3
  • Research Article
  • Citations4

Catching two rabbits: adaptive real‐time support for embedded Linux

  • Dec 08, 2008
  • Software: Practice and Experience
  • Euiseong Seo +4
  • Conference Article
  • Citations45

Boundedness vs. Unboundedness of Lock Chains: Characterizing Decidability of Pairwise CFL-Reachability for Threads Communicating via Locks

  • Aug 01, 2009
  • Vineet Kahlon
  • Research Article
  • Citations22

FLEP

  • Apr 04, 2017
  • ACM SIGPLAN Notices
  • Bo Wu +3
  • Conference Article
  • Citations6

Preemptive switched Ethernet for real-time process control system

  • Jul 01, 2013
  • Joonkyo Kim +2
  • Conference Article

Poster: Static Analysis of Concurrent Higher-Order Programs

  • May 01, 2015
  • Quentin Stievenart +3
  • Research Article
  • Citations25

Specification, verification, and synthesis of concurrency control components

  • Jul 01, 2002
  • ACM SIGSOFT Software Engineering Notes
  • Tuba Yavuz-Kahveci +1
  • Research Article
  • Citations10

Designing irregular parallel algorithms with mutual exclusion and lock-free protocols

  • Feb 15, 2006
  • Journal of Parallel and Distributed Computing
  • Guojing Cong +1
  • Conference Article
  • Citations165

Resource Sharing in Hierarchical Fixed Priority Pre-Emptive Systems

  • Jan 01, 2006
  • R.I Davis +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.