
JVM Options for Allocating Memory
We look at the JVM options for allocating memory. allUsing the right runtime options to set memory size is as important as choosing the right garbage collector.
We look at the JVM options for allocating memory. allUsing the right runtime options to set memory size is as important as choosing the right garbage collector.
We look at generational garbage collection. What is garbage and what is garbage collection? And why is it important to understand heap memory?
We look at the role of the garbage collector in Java. There are multiple garbage collectors, and it’s important to choose the right one for better performance.
The Ahead of Time (AOT) compiler compiles Java classes to native code before running the Java application. It is a way to improve performance. AOT was introduced and then removed from OpenJDK, but is still available.
We look at the JVM (Java Virtual Machine) command line options that customise how the interpreter and the JIT compiler operate at runtime.
The role of the JVM interpreter is to compile Java code to intermediate bytecode, which is then executed by an interpreter. We can also use a JIT compiler. A quick review of the compiler, interpreter and the JVM.
Java strings are internally represented in either ASCII or UTF-16. So a Java programmer should know something about ASCII, Unicode and UTF. We look at ASCII, Unicode, UTF-8, UTF-16 and UTF-32
Compact strings in Java are an enhancement introduced in Java 9. Strings use a lot of heap memory. Reducing the internal size of a string can save memory and garbage collection overhead. Let’s have a look at how compact strings work in Java.
Choosing a collection in Java is important. You want to know how to choose the right concrete collection class to use for your Java collection. In this article we look at choosing the interface, choosing the implementation, and comparing the various concrete classes in the Collections framework.
Big O notation is a tool we use to analyse the cost of an algorithm. It is a useful concept when we want to choose which collection class to use for a particular use case
Stay home. Stay safe. Stay informed. Find information at www.sacoronavirus.co.za
Thank you for completing the form. We're excited that you have chosen to contact us about training. We will process the information as soon as we can, and we will do our best to contact you within 1 working day. (Please note that our offices are closed over weekends and public holidays.)
Our privacy policy ensures your data is safe: Incus Data does not sell or otherwise distribute email addresses. We will not divulge your personal information to anyone unless specifically authorised by you.
If you need any further information, please contact us on tel: (27) 12-666-2020 or email info@incusdata.com