This discussion is archived
0 Replies Latest reply: Feb 9, 2011 9:11 AM by 339778 RSS

dtrace support in 64 java on solaris 10

339778 Newbie
Currently Being Moderated
Hi,

I don't know if this is the right place to ask, if not, please pointing me to it.

I installed latest jdk 1.6_23, using self-extract file, on solaris 10 x64 machine,
and I can't find the hotspot provider for dtrace when I use 64 bit jvm,
I can find them when I use 32 bit,
I use the following command:


$ dtrace -ln 'hotspot*:::'

When I run java -server TestGreeting, (this is endless loop I borrowed from internet)
I got the probes

When I run with java -d64 -server TestGreeting
I got the following error:

-bash-3.00$ dtrace -ln 'hotspot*:::'
ID PROVIDER MODULE FUNCTION NAME
dtrace: failed to match hotspot*:::: No probe matches description

and when I use ps -ef to grep the java, it shows
~/jdk1.6.0_23/bin/amd64/java -server TestGreeting


Does dtrace support 64 bit JVM?

Thanks
ow005480

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points