K5kC LogoK5kC | Code & More
Computer Science
AlgorithmsJavaProgramming LanguagesDatabaseSystem Design
Problems
Blind 75Algo KernelDifficulty: EasyDifficulty: MediumDifficulty: Hard
Videos
Projects
AndroidData ScienceComputer VisionSimulations
Tools
UUID GeneratorCode Formatter
Search⌘K

Core Java

Overview
OverviewConcurrency Evolution and TopicsConcurrency vs ParallelismThreads: A Quick RecapThreadsThread CreationCreate Java Thread by Extending Thread classCreate Java Thread by implementing RunnableThread Subclass OR Runnable Implementation for Thread CreationCalling run() instead of start()Can we Start The Same Thread Twice in JavaThread ClassThread Class IntroSetting And Getting Java Thread Name And Thread IDThread Name - Get and SetGet current Java Thread with Thread.currentThread methodPause Java ThreadStop Java ThreadThe Main ThreadTypes of Threads in JavaThread State MethodsThread Life Cycle and States in JavaUser Threads vs Daemon Threads in JavaThread PrioritiesExceptions and ThreadsThread.yield()Thread Properties or Attributes Intro7 Things Every Java Programmer Should Know About Threads In JavaRace Conditions and Critical SectionData Race ProblemWhat Is Thread Safety?Thread Safety IssuesThread Safety in JavaHow to Build a Thread-Safe ClassThread Safety and Shared ResourcesThread Safety and ImmutabilityThread Safety Issue: VisibilityThread Safety Issue: Race ConditionsThread Safety StrategiesAtomicity and LockingThread Safe vs Thread CompatibleComposing Thread-Safe ObjectsHappens-Before GuaranteeStatement Reordering and VisibilitySynchronized Blockssynchronized KeywordObjects as LocksGood practices to use synchronized blocksIssues with SynchronizationInterrupts and JoinDeadlock, Livelock and Starvation BasicsConcurrency and SynchronizationCan two threads call a synchronized method and normal method at the same timevolatile keywordCPU Cache Coherence in Java ConcurrencyFalse Sharing in JavaThreadLocalPublishing, Escape and Thread ConfinementThreadLocal as a ContainerThreadLocal Example - When and How to UseTasks and Executors OverviewExecutorServiceExecutors and Fixed Thread PoolsThreadPoolExecutorThreadPoolExecutor - Java Thread Pool ExampleThreadPoolExecutor and BlockingQueue ExampleThreadPoolExecutor + Callable + Future ExampleScheduledExecutorServiceTask Scheduling with Executors - ScheduledThreadPoolExecutor ExampleSynchronous TasksCallableCallable Tasks ReferenceRunnable vs Callable in JavaCallable and Future in Java concurrencyCallable FutureFuture ExplainedFutureTask Example ProgramExecutorCompletionServiceAsynchronous TasksSynchronous vs Asynchronous ExecutionCompletableFutureUI CallbacksLockLocks in JavaReentrantLock and ConditionsReentrance LockoutReadWriteLockRead Write Locks in JavaBinary Semaphore vs Reentrant LockDeadlock between ThreadsDeadlock Prevention in JavaHow to write deadlock and resolve in javaLock ReentranceLock vs monitor in javaMonitors – The Basic Idea of Java SynchronizationThread SignalingThread JoinInter-Thread Communicationnotify vs notifyAll In JavaPrint Numbers Sequentially Using Even and Odd ThreadsUsing wait and notifyAll to Coordinate ThreadsThread wait, notify and notifyAll Examplenotify() and wait() examplesWhy wait(), notify() And notifyAll() Methods Are in Object Class And Not in Thread ClassWhy wait(), notify() And notifyAll() Must be Called Inside a Synchronized Method or BlockDifference Between sleep() and wait()Busy WaitingThread Termination in javaAlways terminate the thread which it is interruptedrun() vs start() QuizThread - Interrupts and JoinThread Scheduling - Priority Of A Thread In JavaThread Dumps: jcmd, jstack, kill -3 and VisualVMVirtual ThreadsConcurrency Study GuideThread Synchronization Hands-OnThreads Hands-On: Scheduling and InterruptionServlet and JSP Thread SafetyConcurrency ModelsConcurrency Models and Distributed System SimilaritiesShared State VS Separate State in Concurrency ModelsParallel Workers Concurrency ModelAssembly Line Concurrency ModelFunctional Parallelism Concurrency ModelWhich Concurrency Model is BestHow to Synchronize ArrayList, HashSet and HashMapSame-Threading: Share-Nothing ConcurrencySingle-Threaded Concurrency: Thread Loops and AgentsStatic vs Volatile in Java
Computer Science
Java
Core Java
Java Concurrency
Concurrency Fundamentals
Java Concurrency Study Guide

Java Concurrency Study Guide

← PreviousJava Virtual ThreadsNext →Thread Synchronization Hands-On
PrivacyDisclaimerReport an IssueAbout

© 2026 K5kC | Code & More. All rights reserved.

चरैवेति चरैवेति | Keep moving on