Effective Java By Joshua Bloch Item 8: Avoid Finalizers And Cleaners
My disquisition on Item 8 of Effective Java by Joshua Bloch: Avoid Finalizers And Cleaners. I also cover garbage collection, the AutoCloseable interface and native peers. GitHub repository: https://github.com/TRahulSam1997/Effective-Java-Joshua-Bloch/tree/main/src/main/java/Item8 Joshua Bloch's GitHub repository: https://github.com/jbloch/effective-java-3e-source-code/tree/master/src/effectivejava/chapter2/item8 Book: https://www.amazon.com.au/Effective-Java-Joshua-Bloch/dp/0134685997/ Full playlist: https://youtube.com/playlist?list=PLcJ6nqGscKrd2UxeLTY-fIr0dzdMIOHAK --------------------------------------- {Podcast} Spotify: https://open.spotify.com/show/4ryEqjut4r6SMtfxLdM1Le Anchor: https://anchor.fm/rahul-samaranayake {Website} https://rahulsam.me/ {Social Media} https://twitter.com/trsam97 https://www.minds.com/trahulsam/ https://www.linkedin.com/in/rahul-samaranayake-981a9315b/ https://trahulsam.medium.com/ https://www.instagram.com/name_is_rahul/ Facebook Group: https://goo.gl/JoL9CA {Reference Links} https://www.baeldung.com/java-finalize https://docs.oracle.com/javase/9/docs/api/java/lang/ref/Cleaner.html https://inside.java/2022/05/25/clean-cleaner/ https://en.wikipedia.org/wiki/Phantom_reference https://docs.oracle.com/javase/10/docs/api/java/lang/System.html https://stackoverflow.com/a/56454348/6367109 Why do Java finalizers have security problems? - https://stackoverflow.com/questions/74554261/why-do-java-finalizers-have-security-problems How to keep track if an instance has been closed with Java AutoCloseable? - https://stackoverflow.com/questions/74587760/how-to-keep-track-if-an-instance-has-been-closed-with-java-autocloseable https://stackoverflow.com/questions/48260485/what-is-a-native-peer https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html --------------------------------------- If the ideas I discuss in this channel evoke your interest, consider visiting https://theunhappyman.substack.com/ --------------------------------------- Copyright Disclaimer under section 107 of the Copyright Act 1976, allowance is made for “fair use” for purposes such as criticism, comment, news reporting, teaching, scholarship, education and research. Fair use is a use permitted by copyright statutes that might otherwise be infringing. If you are or represent the copyright owner of materials used in this video and have a problem with the use of the related material, please email me at [email protected], and we can sort it out. Thank you. The description may contain affiliate links to products. I receive a commission for purchases made through these links. I only recommend products that have genuinely helped me.
Download
0 formatsNo download links available.