Best of JVMOctober 2024

  1. 1
    Article
    Avatar of baeldungBaeldung·2y

    Reduce Memory Footprint in Java

    Application size is crucial for performance, and optimizing memory usage can significantly reduce an application's memory footprint. This guide explains how to estimate the memory size of Java applications, explore techniques like using primitive types, combining classes, and bit packing for optimizing memory. It also covers using the Java Object Layout (JOL) library for verification and comparing standard Java collections with third-party libraries like Eclipse Collection for additional optimization.

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

    Book Review: Mastering the Java Virtual Machine

    Otávio Santana's 'Mastering the Java Virtual Machine' offers an in-depth exploration of JVM internals, combining nostalgic elements of Java programming with modern concepts. The book covers JVM architecture, performance optimization, class file structure, bytecode operations, memory management, JIT compilation, garbage collection, alternative JVMs like GraalVM, and advanced topics such as Java frameworks, reflection API, and code generation. It's an essential resource for Java developers aiming to improve their understanding and efficiency in Java development.

  3. 3
    Article
    Avatar of thisdotThis Dot·1y

    Java’s AI Evolution: Semantic Caching JVM, and GenAI Architectures with Theresa Mamarella & Brian Sam-Bodden

    Danny Thompson talks with Theresa Mammarella and Brian Sam-Bodden about the advancements in Java, including GenAI architectures and OpenJDK's Project Valhalla. They discuss semantic caching, AI applications in Java, and performance optimization. The conversation also touches on the cost of LLMs and strategies for Java’s future.