This repo contains Java features and advanced concepts from Java 7 and above.
Each feature has its own folder with a code file and README explaining the concept.
- CompletableFuture
- Concurrent Collections
- ForkJoinPool
- Callbacks (Legacy Patterns)
- Locking Mechanisms
- JVM Memory Areas (Heap, Stack, Metaspace)
- Java Memory Model (JMM)
- Happens-Before Relationship
- volatile vs synchronized
- Garbage Collection Basics (G1, ZGC)
- Escape Analysis
- False Sharing
- Navigate to a feature folder.
- Read the README.md to understand the concept.
- Run the
.javafile to see the example in action. - Experiment and modify to deepen understanding.