Java Memory Management: A comprehensive guide to garbage collection and JVM tuning

Putten, Maaike Van, Kennedy, Seán

  • 出版商: Packt Publishing
  • 出版日期: 2022-11-25
  • 售價: $1,470
  • 貴賓價: 9.5$1,397
  • 語言: 英文
  • 頁數: 146
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1801812853
  • ISBN-13: 9781801812856
  • 相關分類: Java 程式語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Improve application performance by tuning, monitoring and profiling both the garbage collector and JVM


Key Features:

  • Understand the different parts of Java memory and the various garbage collectors so you can select your preferred one
  • Explore how memory management can help to effectively improve performance
  • Learn how to spot and avoid memory leaks to enhance application performance


Book Description:

Understanding how Java organizes memory is important for every Java professional, but this particular topic is a common knowledge gap for many software professionals. Having in-depth knowledge of memory functioning and management is incredibly useful in writing and analyzing code, as well as debugging memory problems. In fact, it can be just the knowledge you need to level up your skills and career.

In this book, you'll start by working through the basics of Java memory. After that, you'll dive into the different segments individually. You'll explore the stack, the heap, and the Metaspace. Next, you'll be ready to delve into JVM standard garbage collectors. The book will also show you how to tune, monitor and profile JVM memory management. Later chapters will guide you on how to avoid and spot memory leaks.

By the end of this book, you'll have understood how Java manages memory and how to customize it for the benefit of your applications.


What You Will Learn:

  • Understand the schematics of debugging and how to design the application to perform well
  • Discover how garbage collectors work
  • Distinguish between various garbage collector implementations
  • Identify the metrics required for analyzing application performance
  • Configure and monitor JVM memory management
  • Identify and solve memory leaks


Who this book is for:

This book is for all levels of Java professionals, regardless of whether you're a junior or senior developer, a DevOps engineer, a tester, or the system admin of a Java application. If you currently don't have in-depth knowledge of Java memory, garbage collection, and/or JVM tuning, then this book will help you to take your Java skills to the next level.

商品描述(中文翻譯)

提升應用程式效能的方法是透過調整、監控和分析垃圾回收器和JVM。本書的主要特點包括:

- 瞭解Java記憶體的不同部分和各種垃圾回收器,以便選擇適合的回收器。
- 探索如何透過記憶體管理有效地提升效能。
- 學習如何檢測和避免記憶體洩漏,以增強應用程式效能。

本書描述了Java記憶體的運作方式對於每位Java專業人士都很重要,但這個主題對於許多軟體專業人士來說是一個常見的知識盲點。深入了解記憶體的運作和管理對於編寫和分析程式碼以及除錯記憶體問題非常有用。事實上,這可能是你提升技能和職業生涯的關鍵知識。

在本書中,你將從Java記憶體的基礎開始。接著,你將深入研究各個部分,包括堆疊、堆積和Metaspace。接下來,你將學習JVM標準垃圾回收器。本書還將教你如何調整、監控和分析JVM記憶體管理。後面的章節將指導你如何避免和檢測記憶體洩漏。

通過閱讀本書,你將瞭解Java如何管理記憶體,並學會如何根據應用程式的需求進行自定義設定。

本書的學習重點包括:

- 瞭解除錯的原理,並設計應用程式以達到良好的效能。
- 了解垃圾回收器的運作方式。
- 區分不同的垃圾回收器實作。
- 辨識分析應用程式效能所需的指標。
- 配置和監控JVM記憶體管理。
- 辨識和解決記憶體洩漏問題。

本書適合所有級別的Java專業人士,無論你是初級還是高級開發人員、DevOps工程師、測試人員還是Java應用程式的系統管理員。如果你目前對Java記憶體、垃圾回收和/或JVM調整沒有深入的了解,那麼本書將幫助你提升Java技能。