Is your Blocking Queue... Blocking?

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

When a bounded Java BlockingQueue fills up, producers block — but detecting this in production is non-trivial. Standard JFR 'Lock Instances' views don't capture LockSupport-based locks used by ArrayBlockingQueue. The post explores several approaches: custom JFR events, JMC Agent bytecode instrumentation, and ultimately

8m read timeFrom morling.dev
Post cover image

Sort: