Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Java Performance

    Java Performance

    Scott Oaks · 2014

    MathematicsSystems & OSProgramming
    Open LibraryAmazon
    Stats for nerds
    2recommend
    3mentions
    3people
    2016–2021years
    67% recommend33% neutral

    Mentions per year

    201620172018201920202021

    What Hacker News says

    1. pramodbiligiriNov 2021
      Java Performance: The Definitive Guide, by Scott Oaks is great. https://www.oreilly.com/library/view/java-performance-the/97...
      thread
    2. loevborgApr 2016
      Thanks for writing this, I agree especially with the first point. Scott Oaks's "Java Performance" [1] does a good job of explaining the different GC's available in the JVM. He also goes into the many, many GC-related JVM settings you can tune. However, as he acknowledges, the default settings are often hard to improve upon. The reason why many programs display bad behavior under memory pressure is that they are not written with a clear understanding of Java's memory model. They allocate too many objects, or hold on to objects for too long even if they're no longer needed (e.g. "head retention" in Clojure).

      As powerful as the JVM is, it can't magically fix your broken programs. Unfortunately many memory pressure problems remain hidden until you encounter production workloads. What I'd like to see most is practical advice on how to avoid these problems in the first place, how to debug them if they occur, and how to effectively test your code for leaks/memory bugs.

      [1] http://www.amazon.com/Java-Performance-Definitive-Scott-Oaks...

      thread
    3. ahelApr 2021
      Do you have any good link/books for learning about JVM?

      I found that there are tons of beginner java, but nothing on JVM.

      I've only found by Scott Oaks Java Performance, which gives some interesting knowledge about JVM but it's a secondary focus.

      thread

    Related

    Cover of Effective Java
    2007–2026

    Effective Java

    Joshua Bloch
    172 recommend · 287
    Cover of Effective C++
    2007–2026

    Effective C++

    Scott Meyers
    112 recommend · 212
    Cover of The art of computer systems performance analysis
    2015–2024

    The art of computer systems performance analysis

    Raj Jain
    4 recommend · 6
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894
    Cover of Effective Modern C++
    2014–2026

    Effective Modern C++

    Scott Meyers
    63 recommend · 127
    Cover of Java Concurrency in Practice
    2009–2026

    Java Concurrency in Practice

    Brian Goetz
    53 recommend · 82
    Cover of High Performance JavaScript
    2010–2016

    High Performance JavaScript

    Nicholas C. Zakas
    recommend · 21
    14
    Cover of Java
    2008–2022

    Java

    Herbert Schildt
    2 recommend · 3