Java Performance

In-Depth Advice for Tuning and Programming Java 8, 11, and Beyond

Paperback Engels 2020 2e druk 9781492056119
€ 78,53
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

Coding and testing are generally considered separate areas of expertise. In this practical book, Java expert Scott Oaks takes the approach that anyone who works with Java should be adept at understanding how code behaves in the Java Virtual Machine—including the tunings likely to help performance. This updated second edition helps you gain in-depth knowledge of Java application performance using both the JVM and the Java platform.

Developers and performance engineers alike will learn a variety of features, tools, and processes for improving the way the Java 8 and 11 LTS releases perform. While the emphasis is on production-supported releases and features, this book also features previews of exciting new technologies such as ahead-of-time compilation and experimental garbage collections.

- Understand how various Java platforms and compilers affect performance
- Learn how Java garbage collection works
- Apply four principles to obtain best results from performance testing
- Use the JDK and other tools to learn how a Java application is performing
- Minimize the garbage collector’s impact through tuning and programming practices
- Tackle performance issues in Java APIs
- Improve Java-driven database application performance

Specificaties

ISBN13:9781492056119
Taal:Engels
Bindwijze:paperback
Aantal pagina's:408
Uitgever:O'Reilly
Druk:2
Verschijningsdatum:31-3-2020
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Scott Oaks

Scott Oaks is a Java Technologist at Sun Microsystems, where he has worked since 1987. While at Sun, he has specialized in many disparate technologies, from the SunOS kernel to network programming and RPCs. Since 1995, he's focused primarily on Java and bringing Java technology to end-users. Scott also authored O'Reilly's Java Security, Java Threads and Jini in a Nutshell titles.

Andere boeken door Scott Oaks

Inhoudsopgave

Preface
Who Should (and Shouldn’t) Read This Book
What’s New in the Second Edition
Conventions Used in This Book
Using Code Examples
O’Reilly Online Learning
How to Contact Us
Acknowledgments

1. Introduction
A Brief Outline
Platforms and Conventions
Java Platforms
Hardware Platforms
The Complete Performance Story
Write Better Algorithms
Write Less Code
Oh, Go Ahead, Prematurely Optimize
Look Elsewhere: The Database Is Always the Bottleneck
Optimize for the Common Case
Summary

2. An Approach to Performance Testing
Test a Real Application
Microbenchmarks
Macrobenchmarks
Mesobenchmarks
Understand Throughput, Batching, and Response Time
Elapsed Time (Batch) Measurements
Throughput Measurements
Response-Time Tests
Understand Variability
Test Early, Test Often
Benchmark Examples
Java Microbenchmark Harness
Common Code Examples
Summary

3. A Java Performance Toolbox
Operating System Tools and Analysis
CPU Usage
The CPU Run Queue
Disk Usage
Network Usage
Java Monitoring Tools
Basic VM Information
Thread Information
Class Information
Live GC Analysis
Heap Dump Postprocessing
Profiling Tools
Sampling Profilers
Instrumented Profilers
Blocking Methods and Thread Timelines
Native Profilers
Java Flight Recorder
Java Mission Control
JFR Overview
Enabling JFR
Selecting JFR Events
Summary
Afgekapt op 61 regels

Managementboek Top 100

€ 78,53
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Java Performance