Java Performance 培训

课程编码

javaperf

课程时长

35 小时 通常来说是5天,包括中间休息。

要求

Programming in Java.

课程概览

本课程面向希望生成高效应用程序的Java程序员。在与客户协商后,该课程可以在特殊工具版本中进行,适用于只需要检测性能问题的人员(测试人员,管理员) - 在这种情况下,不需要使用Java编程。

在培训期间,参与者将了解用Java生成高效软件的流程和现代工具。他们学习与性能相关的陷阱,基准测试,分析,调优,内存分析,使用集合或IO的性能技巧。无论项目中使用何种技术,学习的主题和工具都适用,因为我们专注于语言级性能,工具和嵌入式库。调优讨论了Oracle提供的JVM参数。

Machine Translated

课程大纲

Basics and performance measurements

  • Performance dimensions
  • The process of creating efficient software
  • Factors affecting performance
  • Micro and Macro-Benchmarking
  • Profiling
  • Use of tools: JConsole, Java Visual VM, JMC (Java Mission Control), MAT (memory analysis)

Efficient work on files

  • IO: streams, buffering, RandomAccessFile
  • NIO: channels, memory mapped files
  • NIO.2 (introduction): Path, Files
  • How to increase serialization performance

Working with collections and arrays

  • Computational complexity - how to choose algorithms
  • Recursion, iteration and heuristics
  • Performance for sets, lists, queues, maps
  • Views and Collections class
  • Review of multithreaded collections (java.util.concurrent)
  • Arrays and collections for simple types

JMH - approved microbenchmak framework for Java

  • Creating JMH project and benchmarks
  • Configuration, running, results
  • Concurrent and parameterizable Benchmarks
  • Traps and advanced elements

Class loading

  • Class Class, ClassLoader and class loading process
  • When to control class loading?
  • Delaying class loading and reducing the number of classes
  • Reflection and dynamic proxy
  • Introduction to modules (Java 9)

Memory management in Java

  • Garbage Collector and object life cycle
  • Strong, soft, weak and phantom references
  • Why memory leak occurs and what to avoid in Java
  • Generations and memory spaces
  • Tuning Garbage Collector
  • Types of Garbage Collector: Serial, Parallel, Concurrent, G1
  • Changes in Java 8 and Java 9

Java Virtual Machine

  • Client and server modes
  • Tuning JVM
  • Performance changes from version to version

Introduction to optimization for HTTP (OPTIONAL)

  • Problems with server side optimization
  • Testing with HTTP: HttpUnit, JWebUnit, Selenium
  • Performance measurements for HTTP: Grinder, JMeter
  • Additional information about JMeter

Problems with optimization

  • Micro-benchmarking problems
  • Premature optimization
  • Greed
  • Other bad practices

客户评论

★★★★★
★★★★★

课程分类

相关课程

促销课程

订阅促销课程

为尊重您的隐私,我公司不会把您的邮箱地址提供给任何人。您可以享有优先权和随时取消订阅的权利。

我们的客户

is growing fast!

We are looking to expand our presence in China!

As a Business Development Manager you will:

  • expand business in China
  • recruit local talent (sales, agents, trainers, consultants)
  • recruit local trainers and consultants

We offer:

  • Artificial Intelligence and Big Data systems to support your local operation
  • high-tech automation
  • continuously upgraded course catalogue and content
  • good fun in international team

If you are interested in running a high-tech, high-quality training and consulting business.

Apply now!

This site in other countries/regions