Lock-free synchronization primitives are essential for high-throughput concurrent systems, yet the common practice of propagating a poisoned state after an exception can permanently disable a lock and degrade availability. This paper introduces PoisonableLock, a Java implementation that isolates exception-induced poisoning from normal execution while preserving linearizability. We formalize the state-transition model, prove that the poisoned flag is monotonic and that each runWithLock invocation is linearizable, and establish that the lock's amortized complexity remains O(1) under contention. The design is verified through automated Abstract Syntax Tree inspection and static invariant checking on an Intel Xeon 6975P-C platform with 1 core and .
Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.
Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.
Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.
@article{yonathan2026_2026_11_26_abolish_lock_poisoning,
title={Invariant-Preserving PoisonableLock: A Lock-Free Poisoning Mitigation in Java},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-11-26_abolish_lock_poisoning/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-26_abolish_lock_poisoning/2026-11-26_abolish_lock_poisoning.pdf}}
}