Help Needed
Christian Thalinger
christian.thalinger at oracle.com
Mon Dec 13 10:49:05 PST 2010
On Dec 13, 2010, at 7:38 PM, Y. S. Ramakrishna wrote:
> On 12/13/10 10:23, Kanik Chakravarty wrote:
>
> ...
>> 1. Is it possible to print to a text file the trace of HotSpot C++ methods as a Java program is run? If not, what is the alternate method of obtaining the trace?
> ...
>
> Solaris' truss(1), via its -u, -U, options allows you to traces user
> libraries without any additional work on your part; perhaps Linux strace
> does too...
There are also switches that turn on some tracing like:
-XX:+TraceJVMCalls -XX:+TraceJNICalls -XX:+TraceRuntimeCalls
-- Christian
More information about the hotspot-dev
mailing list