Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WildFly Performance Tuning
  • Table Of Contents Toc
WildFly Performance Tuning

WildFly Performance Tuning - Third Edition

3.8 (6)
close
close
WildFly Performance Tuning

WildFly Performance Tuning

3.8 (6)

Overview of this book

Packed with practical examples, this book looks at a different aspect of performance tuning in each chapter and shows you how to apply them to their existing Java applications. Anyone with an interest in learning more and improving the performance of Java-based technology in general, all the way to WildFly in particular, will find this book useful.
Table of Contents (12 chapters)
close
close
8
8. Tuning Web Applications and Services
11
Index

JVM memory areas


Memory-wise, JVM is made up of two major generic storage types: stack and heap.

The JVM stack and native stack

A stack is a last in, first out (LIFO) type of storage. For each JVM thread of execution, there is a JVM stack. In this stack, entries called frames are stored. The frames can hold object references, variables values, and partial results. During the execution of a Java application, these frames are added (push) to, or removed (pop) from the JVM stack.

In JVM, there is also the concept of a native stack. Normally, there exists one stack per JVM thread, and it is used to support native (written in a platform-native language such as C/C++) functions/methods as the regular JVM stacks can't hold them.

As a concept, a stack is quite easy to control. When a frame is no longer needed, it gets removed (pop), and its memory area is freed by the simple operation of adjusting a pointer to the next frame in the stack.

The heap

The heap is a memory area that, according to the specification...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WildFly Performance Tuning
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon