Best of JVMJanuary 2025

  1. 1
    Article
    Avatar of foojayioFoojay.io·1y

    How JVM handles exceptions

    The JVM handles exceptions through a structured mechanism involving bytecode instructions and an exception table. When an exception is thrown, the JVM looks up the appropriate handler in the method's exception table. Handlers can be catch or finally blocks, and each handler specifies a range of instructions it covers and a target address where execution should continue. If no handler is found, the JVM looks up the call stack until it finds an appropriate handler, executing any finally blocks it encounters along the way.

  2. 2
    Article
    Avatar of inside_javaInside Java·1y

    A Deep Dive into JVM Start Up – Inside.java

    Explore the initialization process of the Java Virtual Machine (JVM), including its startup phases and optimizations to improve performance.

  3. 3
    Article
    Avatar of inside_javaInside Java·1y

    A Deep Dive into JVM Start-up – Inside.java

    The JVM start-up process involves multiple complex steps beyond simply executing compiled Java bytecode. Key stages include validating user input, detecting system resources, preparing the environment, selecting a garbage collector, and handling class loading, linking, and initialization. Understanding these steps can aid in debugging and performance optimization. Upcoming improvements like Project Leyden aim to further enhance start-up performance.