compiled method info
rednaxelafx at gmail.com
Thu May 3 17:09:59 PDT 2012
On 2012-5-4, at 7:54, Xin Tong <xerox.time.tech at gmail.com> wrote:
> On Thu, May 3, 2012 at 6:07 PM, Krystal Mok <rednaxelafx at gmail.com> wrote:
>> In runtime/globals.hpp, you can find the flags LogVMOutput and LogFile that should meet your needs. Use them like this (if you're using a product build):
>> -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=<file_path>
>> The default path for the log is ./hotspot.log.
> The debugging output gets printed to the file i specified. However the
> same thing is printed to the stdout. How can i get it just print to
> the file, not stdout.
Use -XX:-DisplayVMOutput anywhere after -XX:+UnlockDiagnosticVMOptions.
> also, i have been looking at this document and
> can not find the LogFile option in there.
> Maybe this doc is out of date ? or the JVM version is old ?
That page is not an exhaustive list of all VM options. Besides, there are lots of flags in the VM not meant to be used by application users/developers, so I'm okay with that page.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev