News for hackers. Stuff that matters.
Re:What Should I Know About Garbage Collection as a Java Dev... by datavirtue on Tuesday January 10, 2023 @09:08PM (#34334211)
Be nice to your garbage collector. Don't leave references to objects that are not needed. Once they are done, and the scope is going to remain, null them.
Re:What Should I Know About Garbage Collection as a Java Dev... by ramranch on Tuesday January 10, 2023 @09:21PM (#34334285)
Why not just write C, then? Sounds like you're just setting up for NPEs
Re:What Should I Know About Garbage Collection as a Java Dev... by nlitened on Tuesday January 10, 2023 @10:37PM (#34334742)
Or use a language that does it automatically, like Clojure
Re:What Should I Know About Garbage Collection as a Java Dev... by thewisenerd on Tuesday January 10, 2023 @11:32PM (#34335019)
is this a reference to the 2019 talk, or are you being serious (in which case, could you please share a couple references)?

context: https://www.youtube.com/watch?v=ocUx-QUJMfo&t=630s