Java’s Highly Scalable Low-Latency Garbage Collector : ZGC

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น • 17

  • @ignacemorel641
    @ignacemorel641 ปีที่แล้ว +36

    Java, the language that never stops improving.

    • @krellin
      @krellin 11 หลายเดือนก่อน

      This is the JVM not java though

  • @sblantipodi
    @sblantipodi ปีที่แล้ว +3

    this GC is amazing, I tried it on my low latency app and it's amazing, leave alone the fact the defaults seems a lot better since this GC tends to release more resources to the OS more often.

  • @qwertz12345654321
    @qwertz12345654321 หลายเดือนก่อน

    16:40 The latency is really really impressive. For a more thorough comparison to better understand the tradeoffs I would have loved to see additional graphs showing things like total pause time. Also I wonder how much time is spend waiting for load barriers. It is not a global pause, but also a kind of pause.
    ZGC is a wonderful addition and its great to see its strengths but I think addressing its weaknesses is just as important. A no pause GC using atomics, locks and metadata would sound nice on paper, but would obviously be uselesss.

  • @VisruthCV
    @VisruthCV ปีที่แล้ว +5

    👌💚💚💚💚💚
    Very informative presentation. Thanks 👍!

  • @dumdumdumdum8804
    @dumdumdumdum8804 ปีที่แล้ว +3

    When will generational zgc reach GA.

    • @billykorando
      @billykorando ปีที่แล้ว

      When it's ready 🙂
      Ultimately I could only provide speculation, that could soon prove incorrect. The most current information would be found on the ZGC dev mailing list: mail.openjdk.org/pipermail/zgc-dev

    • @dumdumdumdum8804
      @dumdumdumdum8804 ปีที่แล้ว

      @@billykorando Your Speculation will help, I am totally clueless about it and there isn't much about it in the mailing list of its readiness for GA.

    • @billykorando
      @billykorando ปีที่แล้ว

      @@dumdumdumdum8804 JEP for generational ZGC has just been moved to draft status openjdk.org/jeps/439
      So that’s a good indication it will be in JDK 21, no promises though 🙂

    • @dumdumdumdum8804
      @dumdumdumdum8804 ปีที่แล้ว

      @@billykorando Thats pretty cool it is already in candidate status. I wonder what will happen to our microservices will it also reduce memory footprint to 1/4 as in the case of Cassandra. We use grpc and kafka most of our services consume 300 MB to 500 MB of memory, with generational zgc i expect it to be 75 to 125MB which will allow us to deploy more services or increase the number of pods for the same service.
      generational ZGC + lilliput + Leyden -> Huge cost saving.

    • @dumdumdumdum8804
      @dumdumdumdum8804 ปีที่แล้ว

      @@billykorando For Valhalla I think we have to do code changes to take advantage of dense memory layouts, may be if valhalla is retrofitted into autoboxing then probably we will enjoy good performance out of the box by just switching to latest version of jdk.

  • @con_sci
    @con_sci 10 หลายเดือนก่อน

    does this have anything to do with project Leyden?

  • @prdoyle
    @prdoyle ปีที่แล้ว +1

    I think you don't want a tesseract. You want a k-simplex. 🤓

  • @berndeckenfels
    @berndeckenfels ปีที่แล้ว +2

    Still in Shenadoah denial? ,)

    • @krellin
      @krellin 11 หลายเดือนก่อน

      totally, though on paper zgc should be better than shenan
      1. it uses totally free bits of available memory in references, while shenon uses entire extra word per object (though i might be wrong seems from 2.0 it doesnt anymore)
      2. it uses only load barriers vs shenon using both load and store gc barriers...
      Either way we only need to care about 2 GCs to choose from now on... and they are both free.

  • @rowellstefanek
    @rowellstefanek 2 หลายเดือนก่อน

    Perez George Thompson Steven Rodriguez Anna