Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WildFly Performance Tuning

You're reading from   WildFly Performance Tuning Develop high-performing server applications using the widely successful WildFly platform

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781783980567
Length 330 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. The Science of Performance Tuning FREE CHAPTER 2. Tools of the Tuning Trade 3. Tuning the Java Virtual Machine 4. Tuning WildFly 5. EJB Tuning in WildFly 6. Tuning the Persistence Layer 7. Tuning the Web Container in WildFly 8. Tuning Web Applications and Services 9. JMS and HornetQ 10. WildFly Clustering Index

Types of GC strategies


There are several different collector types of the GC. These types are also known as strategies and they are, in turn, realized by different implementations depending on the JVM manufacturer. Today, many different implementations exist and these are mixtures of the basic strategies. First, let's have a look at most common strategies of the Hotspot VM:

  • The serial collector

  • The parallel collector

  • The concurrent collector

  • The Garbage First (G1) collector

It should be noted that, within a strategy, different GC algorithms can be enabled for the young generation and the old generation, respectively—all to optimize memory management and performance.

The serial collector

The serial collector performs garbage collection using a single thread as shown in the following diagram. This thread stops all other JVM threads—a so called stop-the-world behavior. While it is a relatively efficient collector, since there is no communication overhead between threads, it cannot take advantage of...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image