Javamentor Javamentor Javamentor
  • Toggle menu
    Javamentor Javamentor Javamentor
    • Java Course
    • Services
    • About
    • Contact

    Compare the performance of AtomicLong and LongAdder classes

    by Spasoje January 25, 2025

    LongAdder class is added in Java 8. Official Java docs say: Under high contention, expected throughput of this class compared to AtomicLong is significantly…

    Java, Performance Optimization 0

    Why do we use private mutex?

    by Spasoje January 21, 2025

    You may see something like this: And you start wondering: “Hey, why do we use synchronized (mutex), can’t we just use synchronized…

    Java, Multithreading 0

    How to make a major mistake with improper publication of the object

    by Spasoje January 21, 2025

    First, we need to define an improper publication. If in thread A you create the object X and in the…

    Java, Multithreading 0

    How many problems can you spot in this simple code?

    by Spasoje January 21, 2025

    Let’s try to create a program that runs ten threads and every thread adds a thousand numbers to the list….

    Java, Multithreading 0

    Become Java Backend Developer From Scratch

    by Spasoje February 27, 2024

    The main purpose of this course/playlist is to introduce you into the IT world. Specifically, this course covers backend development…

    Java 1
    • Java
    • Multithreading
    • Other
    • Patterns And Best Practices
    • Performance Optimization
    • Spring / Spring Boot
    • SQL
    • Testing

    Archives

    • February 2025
    • January 2025
    • March 2024
    • February 2024

    Categories

    • Java
    • Multithreading
    • Other
    • Patterns And Best Practices
    • Performance Optimization
    • Spring / Spring Boot
    • SQL
    • Testing