JDK

Contents

    https://whichjdk.com/

    API diff between Java releases
    Download Java: AdoptOpenJDK
    Understanding more about it...

    Thread dump

    https://blogg.bekk.no/thread-dump-the-simple-tool-for-debugging-java-applications-in-production-1cfed0d0d120

    # old schoool
    jstack <pid>
    
    # more modern
    jcmd <pid> Thread.print
    jcmd <class-name> Thread.print
    
    # If no JDK, SIGQUIT dumps threads to System.out, extract from there
    #   (this will just send a signal to the app, not trigger a shutdown)
    kill -QUIT <pid>
    
    # For a Kubernetes pod the java pid is typically 1
    kubectl exec <pod-name> -- jstack 1
    

    Proudly Powered by Zim 0.75.2.

    Template by Etienne Gandrille, based on ZeroFiveEight and using JQuery Toc Plugin.