Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java Application Performance Tuning and Memory Management
Bestseller
Highest Rated
Rating: 4.6 out of 5(5,334 ratings)
43,262 students

Java Application Performance Tuning and Memory Management

Discover how coding choices, benchmarking, performance tuning and memory management can optimize your Java applications
Last updated 7/2022
English

What you'll learn

  • What can cause performance issues in our applications, and how to resolve them.
  • The choices available to us as developers at design-time - how to make good coding choices for optimal performance.
  • How to configure the virtual machine to provide better performance at run-time.
  • The JVM's Just In Time compiler.
  • How the virtual machine manages memory.
  • Performance testing and benchmarking.

Course content

25 sections134 lectures10h 4m total length
  • What do we mean by performance, and what versions of Java does this course cover4:00
  • Example code provided with this course1:01
  • Using different JDK and JVM vendors1:37
  • The structure of this course5:11
  • How to get support while you're taking this course1:51

Requirements

  • Basic working knowledge of Java programming is needed, but you don't need to be a Java expert!

Description

In this course we'll understand what can cause performance issues in our applications, and how to resolve them. This includes a review of some of the options available to us as developers at design-time - how to make good coding choices for optimal performance. For example, when should you pick an ArrayList over a LinkedList? How much difference does the StringBuilder really make? Is Lambda syntax more or less efficient at certain operations?  We'll also learn about various ways that we can configure the virtual machine to provide better performance at run-time, with a range of runtime arguments. We'll also be diving deep into how the virtual machine manages memory, and how the garbage collection process works and impacts on application performance.

Along the way we'll be learning about the Just In Time compiler, performance testing and benchmarking, decompiling bytecode, using the GraalVM as an alternative virtual machine and more.

About Java Versions: This is the second iteration of this course and it is designed for all the current versions of Java that have long term support (Java 8 , Java 11 and Java 17). You can follow along with any of these versions. You can also use either the Oracle or the OpenJDK JVMs.  For developers using other JVM languages (such as Kotlin, Scala and Groovy) all of the JVM configuration parts of this course will still be relevant, and some of the coding choices may be useful to consider also. (Note that there's even a review of whether Kotlin provides better or worse performance than Java!)

Who this course is for:

  • Java programmers who are looking to deepen their knowledge of how the Java Virtual Machine works
  • Application developers who have a problem with a poorly performing application
  • All java developers who want to be better programmers