EIEIOTECHNOVATION
← Training programmes

EIEIO / PROGRAMMING & DEVELOPMENT

Java Performance Tuning and Writing High Performance Code

Course outline

3 days

Duration

Java Performance Tuning and Writing High Performance Code

3 days

Outline

JVM and Performance Overview

  • JVM Overview
  • Performance Principles
  • Common Performance Problems
  • Performance Methodology
  • Monitoring
  • Profiling
  • Tunings
  • Development and Performance

Monitoring the JVM

  • HotSpot Generational Garbage Collector
  • Monitor the Garbage Collector with Command Line Tools
  • Monitor the Garbage Collector with VisualVM
  • Monitor the JIT Compiler
  • Throughput and Responsiveness

Performance Profiling

  • Eclipse MAT
  • Jmap
  • JHat
  • Profile CPU Usage
  • Profile JVM Heap
  • Find Memory Leaks

Garbage Collection Schemes

  • Garbage Collection
  • Generational Garbage Collection
  • GC Performance Metrics
  • Garbage Collection Algorithms
  • Types of Garbage Collectors
  • JVM Ergonomics

Garbage Collection Tuning

  • Tune the Garbage Collection
  • Select the Garbage Collector
  • Interpret GC Output

Language Level Concerns and Garbage Collection

  • The best practices for Object Allocation
  • Invoking the Garbage Collector
  • Reference Types in Java
  • The use of Finalizers

Concurrency Tuning

Introduction

  • Synchronization
  • Deadlock situation
  • Detecting Dead Locks
  • Creating Thread Dump
  • Analyzing Thread Dump
  • IBM Thread Dump Analyzer

JIT

  • JIT compiler
  • Code Cache
  • -XX:+PrintCompilation
  • Command File

Performance Tuning at the Language Level

  • String-efficient Java Applications
  • Collection Classes
  • Using Threads
  • Using I/O Efficiently
  • Java Mission Control
  • G1 GC
  • Meta Space
  • Setting Initial Meta Space Size
  • Setting Max Meta Space Size

Programme scope, delivery arrangements and suitability are confirmed during enquiry.