O'Reilly logo

Oracle JRockit by Marcus Lagergren, Marcus Hirt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required