[dtrace-discuss] compile error in jdk1.6 sample scripts

Ekaterina Pavlova Ekaterina.Pavlova at Sun.COM
Mon Dec 4 00:34:52 PST 2006



Steven Reynolds wrote:

>I am running the sample scripts included in java 1.6, and I am seeing errors. For example:
>
>#  dtrace -s class_loading_stat.d -p 7341
>dtrace: failed to compile script class_loading_stat.d: line 156: probe description syscall::exit:entry does not match any probes
># dtrace -s gc_time_stat.d -p 7341
>dtrace: failed to compile script gc_time_stat.d: line 202: probe description syscall::exit:entry does not match any probes
>
>Other sample scripts are showing errors too.
>
>Lines 155 to 160 from class_loading_stat.d look like this:
>
>syscall::rexit:entry,
>syscall::exit:entry
>/pid == $target/
>{
>   exit(0);
>}
>
>If I remove line 156, the script seems to run OK.  
>Is this expected behavior? In other words, is "syscall::exit:entry" valid for some solaris versions?
>
>
I do not think so.
I believe syscall::exit:entry is artifact left in these samples.
I'll file bug to take care of it.

As workaround you can either use 'dtrace -Zs ...' or just delete the 
line "syscall::exit:entry".

thanks,
-katya

>The details for my system are:
># uname -a
>SunOS unknown 5.11 snv_52 i86pc i386 i86pc
># java -version
>java version "1.6.0-rc"
>Java(TM) SE Runtime Environment (build 1.6.0-rc-b100)
>Java HotSpot(TM) Client VM (build 1.6.0-rc-b100, mixed mode, sharing)
>
>The sample scripts are located in 
>
>${JAVA_HOME}/sample/dtrace/hotspot
>
>thanks
>Steven
> 
> 
>This message posted from opensolaris.org
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>dtrace-discuss mailing list
>dtrace-discuss at opensolaris.org
>  
>

-- 
Ekaterina Pavlova,
VMSQE Team, St. Petersburg.
http://blogs.sun.com/roller/page/vmrobot
http://blogs.sun.com/theaquarium_ru/



More information about the dtrace-discuss mailing list