Garbage Collection in Java | What is GC and How does it Work in the JVM? | Types of GCs | Geekific

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024

Комментарии • 24

  • @nikita-shamrai
    @nikita-shamrai Год назад +6

    Thank you very much for such competent and dense presentation! Best I found yet.

  • @anthonylouis589
    @anthonylouis589 9 месяцев назад +1

    Great work man on this video!

  • @barun011
    @barun011 2 месяца назад +1

    Very informative! Thanks a lot.

  • @donothack
    @donothack 3 месяца назад

    I'm slightly confused, so is the metaspace, was the permGeneration, part of the heap? Because you mentioned something about permGen space of the heap, at 6:05.

    • @kristiyangerasimov6708
      @kristiyangerasimov6708 Месяц назад

      If I understood it correctly permGen was the primitive implementation of the non-heap space that holds all the pre-loaded java code that you have like the String pool, the bytecode that the classloader translated when starting the app and some other predefined values like integers from 0 to 100. The metaspace was an improvement that allowed dynamic resizing to accommodate modern applications, but at the same time retaining the same functionality in the context of the garbage collection's region segregation.

  • @umashankarvs7231
    @umashankarvs7231 4 месяца назад

    Very good explanation

  • @reefat0904
    @reefat0904 Год назад

    Fantastic & wonderful video.

  • @Даниль-п5ъ
    @Даниль-п5ъ 2 года назад +1

    Ty for new video. It was super usefull :)

  • @kapilrai5536
    @kapilrai5536 2 года назад

    thanks very nice way of teaching

  • @onenca
    @onenca Год назад

    thanks a lot for such a wonderful presentation. i love it.

  • @arturocabrera5123
    @arturocabrera5123 2 года назад +1

    hey man great video, the video left me a question regarding compact remaining object, this means that objects will have a new address memory or how exactly this work?

    • @geekific
      @geekific  2 года назад +1

      Thanks! Instead of replying and delving in the details in here, I found this stack overflow answer to be really helpful: stackoverflow.com/questions/59011321/does-garbage-collection-change-the-object-addresses-in-java. Let me know if it helps and if you have further questions. Cheers!

    • @abhilasht8394
      @abhilasht8394 Год назад

      When live objects are moved during compaction, their memory addresses change. The garbage collector updates all references to these objects accordingly, so the program continues to work correctly.

  • @soufianeelhagani9483
    @soufianeelhagani9483 Год назад +1

    this video is fantastic!

  • @vengateshm2122
    @vengateshm2122 2 года назад

    New learning.Thank You.

  • @dhanashreekamali3185
    @dhanashreekamali3185 9 месяцев назад

    Very nice thank you

  • @D1mboss
    @D1mboss 10 месяцев назад

    Thank you so much ♥

  • @ToufiqulAlamSams
    @ToufiqulAlamSams Год назад

    loved this

  • @esafzay
    @esafzay Год назад

    Best

  • @ahmadsalama6447
    @ahmadsalama6447 Год назад +2

    Who still uses Java? Why?

    • @geekific
      @geekific  Год назад +4

      www.google.com/search?q=Who+still+uses+Java%3F+Why%3F&oq=Who+still+uses+Java%3F+Why%3F&aqs=chrome..69i57.512j0j1&sourceid=chrome&ie=UTF-8

    • @ahmadsalama6447
      @ahmadsalama6447 Год назад

      SEOing my question 👀

    • @KevanTess
      @KevanTess Год назад +1

      Minecraft...