• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. HotSpot
  4. LogCompilation overview

Page History

Versions Compared

Old Version 1

changes.mady.by.user J. Duke

Saved on Jun 12, 2008

compared with

New Version 2

changes.mady.by.user J. Duke

Saved on Feb 19, 2009

  • Next Change: Difference between versions 2 and 3
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The diagnostic options -XX:+LogCompilation emits a structured XML log
of compilation related activity during a run of the virtual machine.
By default it ends up in the standard hotspot.log file, though this
can be changed using the -XX:LogFile= option. Note that both of these
are considered diagnostic options and have to be enabled using
-XX:+UnlockDiagnosticVMOptions. Note that support for this by the
client compiler is incomplete so it will not report any inlining decisions.

The log actually consists of two parts. The main log is output from
normal Java threads and contains events for methods being enqueued for
compilation, uncommon traps that invalidate a method and other events.
The other part of the log comes from the compiler threads themselves.
During the execution the compiler threads write their logs to
temporary files with names of the form hs_c#_<pid>.log where # is the
number of the thread using by the compiler thread. At VM shutdown the
separate logs are appended onto the main hotspot.log to form the final
complete log.

...

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 291, "requestCorrelationId": "d2feee8cd8e77457"}