Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

The G1 Garbage Collector (https://dev.java)

10 points by ejboy 3 days ago | 3 comments | View on ycombinator

Sid_Lmao 3 days ago |

Easy-to-miss detail: before JDK 27, the JVM only picked G1 with 2+ CPUs and ~1.8 GB of memory; otherwise, it silently used SerialGC. So a lot of 1- CPU Kubernetes pods have been on serial all along. Worth checking with -XX:+PrintCommandLineFlags before upgrading, since GC behaviour will change.

undefined 3 days ago |

undefined

_verandaguy 9 minutes ago |

Tangential, but I really dislike that the `.java` gTLD was allowed to come about given it's also a reasonably popular file extension.

The `.zip` gTLD set a really bad precedent.