JRockit flags

This section covers the most important command-line flags that can be used to control and instrument JRockit lock behavior.

While plenty of information can be gleaned from log files using some of these flags, synchronization is a complex business and the preferred and best way to visualize multithreaded behavior is through the JRockit Mission Control suite.

Examining locks and lazy unlocking

This section explains the most important flags for studying and manipulating lock behavior.

Lock details from -Xverbose:locks

This flag makes JRockit report information related to synchronization in the running program. Most of the information that the –Xverbose:locks flag produces has to do with the lazy unlocking optimization. This is a good way ...

Get Oracle JRockit now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.