AtomicLong/LongAdder/VarHandle counters benchmarked against the synchronized and ReentrantLock baselines from the locks module, a deterministic ABA race against a hand-rolled Treiber stack plus the AtomicStampedReference fix, and a VarHandle access-modes demo (plain/opaque/acquire-release/volatile). Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01FhzLY5p6okFva3qsnsRyvM
27 lines
922 B
XML
27 lines
922 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.ankurm</groupId>
|
|
<artifactId>java-core-examples</artifactId>
|
|
<version>1.0</version>
|
|
<packaging>pom</packaging>
|
|
|
|
<name>java-core-examples</name>
|
|
<description>Runnable companion code for ankurm.com's Java core / concurrency series. One module per article.</description>
|
|
|
|
<modules>
|
|
<module>jmm</module>
|
|
<module>locks</module>
|
|
<module>atomics</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<maven.compiler.source>25</maven.compiler.source>
|
|
<maven.compiler.target>25</maven.compiler.target>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
</properties>
|
|
</project>
|