JVM Concurrency Rules

Community

Master concurrent Java & Kotlin development

Authoriceflower
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance on writing safe, efficient, and robust concurrent applications in Java and Kotlin, preventing common bugs like race conditions and deadlocks.

Core Features & Use Cases

  • Thread Safety: Learn principles like immutability, thread-local confinement, and synchronization strategies.
  • Memory Model: Understand happens-before relationships, visibility, and atomicity guarantees.
  • Tool Selection: Choose the right synchronization primitives (locks, atomics, concurrent collections) and executor frameworks.
  • Modern Concurrency: Master CompletableFuture patterns and Kotlin Coroutines, including structured concurrency and dispatcher selection.
  • Virtual Threads: Understand best practices for using Java's virtual threads (Project Loom).
  • Testing & Anti-Patterns: Discover strategies for testing concurrent code and common pitfalls to avoid.
  • Use Case: A developer needs to implement a high-throughput, multi-threaded backend service. This Skill guides them on configuring thread pools, managing shared state safely, and handling asynchronous operations effectively to ensure scalability and prevent crashes.

Quick Start

Review the section on synchronized vs ReentrantLock to understand when to use each.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: JVM Concurrency Rules
Download link: https://github.com/iceflower/opencode-agents-and-skills/archive/main.zip#jvm-concurrency-rules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.