The Volatile and Synchronized Keywords in Java | Atomic Variables | Java Multithreading | Geekific

Поділитися
Вставка
  • Опубліковано 13 жов 2024

КОМЕНТАРІ • 58

  • @monkemode8128
    @monkemode8128 Рік тому +9

    This is genuinely one of the best tutorials I've seen on this topic. It seems like there are lots of very beginner resources for learning Java, and lots of really advanced content, but not much in the middle that teaches the broader concepts you need to know to get to the high level.

  • @maxkolchinsky9544
    @maxkolchinsky9544 Рік тому +2

    I read so many articles on this, and used both in real code for years, but only after watching this video I figured out I did not understand how Volatile actually works!! This was an amazing video!

  • @mindcontrolkmc.3286
    @mindcontrolkmc.3286 Рік тому +1

    I don't know but I read and watch a lot of related stuff, but somehow your voice and your video get inside my head and make it more clearer.
    Thank you bro!!!!

  • @sadiqc8153
    @sadiqc8153 2 роки тому +2

    Thanks for fantastic explanation.. I have been working in IT industry past 6 years, but now only i could understood what is really these keywords. Thanks u again

    • @geekific
      @geekific  2 роки тому

      You are most welcome :) Glad it was helpful!

  • @nehajain6751
    @nehajain6751 Рік тому

    one of the best tutorial on this topic. Thank you so much for educating us so simply and effectively.

  • @darshandani1
    @darshandani1 Місяць тому

    Extremely helpful video. Great content and great explanation ! Thanks !

  • @el9558
    @el9558 Місяць тому

    Really helpful. I do have a question, at 8:40 I assume it is not needed to have idCounter as volatile when getAndIncrement() is synchronised and synchronised ensures visibility.

  • @JoaoLima-pq1hm
    @JoaoLima-pq1hm 10 місяців тому

    A very good explanation. Thank you for the lesson and for the video.

  • @kamikatz12
    @kamikatz12 Рік тому

    Thank you so much for taking the time to make such a clear and concise video on the topic. It is much appreciated!

  • @anshuizme
    @anshuizme 2 роки тому

    Perfect place to learn about volatile, synchronized, atomic

  • @swethareddy5493
    @swethareddy5493 3 роки тому +7

    Please make more videos on Multithreading. Thanks a lot for explaining the concepts With examples. Subscribed from my account, my brother's, father and sisters account as well☺️

    • @geekific
      @geekific  3 роки тому

      Sure will do! Thanks a lot, your support means much to me :)

  • @suyashgupta1741
    @suyashgupta1741 3 роки тому +5

    Finally understood it! Thanks for the amazing explanation!

  • @lucasf.v.n.4197
    @lucasf.v.n.4197 Місяць тому +1

    at 8:50, shouldn't idCounter be declared static?

  • @CrStrifey
    @CrStrifey 22 дні тому

    Thanks

  • @karthickks6493
    @karthickks6493 3 роки тому +1

    Beautifully explained :)

  • @kamallochanpadhi3582
    @kamallochanpadhi3582 Рік тому

    Only one word ..awesome

  • @13success66
    @13success66 2 роки тому

    Very beautiful explanation ❣️

  • @lisali5719
    @lisali5719 3 роки тому

    Great video! Helped me understand the differences

    • @geekific
      @geekific  3 роки тому

      Very glad it did :)

  • @iwn77620
    @iwn77620 2 роки тому

    Excellent explanation, thank you

    • @geekific
      @geekific  2 роки тому

      Thank you! Glad you liked it :)

  • @ig_haxie
    @ig_haxie Рік тому

    Man you’re a saviour ❤

  • @anasbouchouha6877
    @anasbouchouha6877 2 роки тому

    Thank you

  • @andysierra5141
    @andysierra5141 2 роки тому

    AWESOME
    and perfectly clear
    even for non-english and java noob speaker like me.
    Thanks so much, this video should have more views indeed.

    • @geekific
      @geekific  2 роки тому

      Wow, thanks so much for the feedback, glad you liked it!

  • @hussamkd6327
    @hussamkd6327 3 роки тому +1

    You have my like, Subscribe, and respect!!

    • @geekific
      @geekific  3 роки тому +1

      This means a lot

  • @vengateshm2122
    @vengateshm2122 3 роки тому +1

    Excellent.

  • @bernaridho
    @bernaridho Рік тому

    I'm glad you use the term Processor, not CPU. (Main) Memory, not RAM. I use such approach too. The terms CPU and RAM are bad.

  • @yahiagadouche883
    @yahiagadouche883 11 місяців тому

    thanks

  • @oefro
    @oefro 2 роки тому

    Nice job Ed! 👏

    • @geekific
      @geekific  2 роки тому

      Thank you! Cheers!

  • @shebanyadondapati9781
    @shebanyadondapati9781 3 роки тому

    So cool.. pretty nice explanation 👌

    • @geekific
      @geekific  3 роки тому

      Thanks! Glad you liked it :)

  • @yaarrated2382
    @yaarrated2382 2 роки тому

    holy shit. Your explanation is fking next level!

    • @geekific
      @geekific  2 роки тому

      xD Thank you! Glad you liked it!!

  • @soumavanag5025
    @soumavanag5025 2 роки тому

    Thank you very much :)

    • @geekific
      @geekific  2 роки тому

      Glad you liked it!

  • @oliveryt7168
    @oliveryt7168 2 роки тому

    Helpful!

  • @vbar-ukr
    @vbar-ukr 3 роки тому

    Very good!

  • @nicatbekirzade1852
    @nicatbekirzade1852 2 роки тому

    good job thanks!!! 👍

    • @geekific
      @geekific  2 роки тому

      Glad you liked it!

  • @bunnyland6487
    @bunnyland6487 3 роки тому

    Superb

  • @andrewcbuensalida
    @andrewcbuensalida 2 роки тому

    doesn't the AtomicInteger have to have a static keyword still?

    • @geekific
      @geekific  2 роки тому

      Wow, you really payed attention! The idea was to focus more on threading and atomicity not the Customer creation! Cheers :)

  • @aboudaladdin8604
    @aboudaladdin8604 3 роки тому

    great !

  • @RanjeetKumar-ld7cl
    @RanjeetKumar-ld7cl 3 роки тому

    Super

    • @geekific
      @geekific  3 роки тому

      Glad you liked it!