[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    RE: oprofile and jitted code -- proposal 1
From:       Scott T Jones <stjones () us ! ibm ! com>
Date:       2005-03-31 20:54:08
Message-ID: OF8C0FABE4.827BBEA9-ON87256FD5.007214B5-86256FD5.0072CB84 () us ! ibm ! com
[Download RAW message or body]

This is a multipart message in MIME format.
--=_alternative 0072CB8086256FD5_=
Content-Type: text/plain; charset="US-ASCII"

Reeja,

Thanks for the bug report.   We had not seen this one on our 1.4.2 JVM. 
I just downloaded the same JVM and I get a nearly identical failure.   We 
will be sure to fix this before we put out the next version of the patch 
next
week.  Thanks again for the information.

Scott

WBI Performance II
IBM Corp, Austin, TX
Reply to:  stjones@us.ibm.com
Phone:  (512) 838-4758, T/L:  678-4758


oprofile-list-admin@lists.sourceforge.net wrote on 03/31/2005 12:48:25 PM:

> Hi,
>     I am trying to use this patch. I use SUN JDK-1.5.0_02. I use 
> Linux kernel 2.6.8. I successfully compiled oprofile and the opjan 
> library. I used a simple 'Hello World' program with this library as 
> specified in this mail. I get following error. I have attached the 
> log file too. Any help appreciated.
> 
> Thanks,
> Reeja
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> # SIGSEGV (0xb) at pc=0x400b1f73, pid=31378, tid=1075191936
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_02-b09 mixed mode, sharing)
> # Problematic frame:
> # C [libc.so.6+0x65f73] strlen+0x33
> #
> # An error report file with more information is saved as 
hs_err_pid31378.log
> #
> # If you would like to submit a bug report, please visit:
> # http://java.sun.com/webapps/bugreport/crash.jsp
> #
> 
> -----Original Message-----
> From: oprofile-list-admin@lists.sourceforge.net [mailto:oprofile-
> list-admin@lists.sourceforge.net]On Behalf Of Scott T Jones
> Sent: Monday, February 07, 2005 4:04 PM
> To: oprofile-list@lists.sourceforge.net
> Subject: RE: oprofile and jitted code -- proposal 1

> 
> 
> This patch adds two new functions to OProfile.  First, it adds the 
ability
> to resolve addresses in anonymous processes, by integrating libopjdl.so
> into OProfile.  This builds upon the patch previously provided by Will
> Cohen.  Second, it provides a Java profiler, libopjan.so, which resolves
> the names of Java jitted methods, when combined with the first feature.
> This implements the following proposal on the oprofile-list: 
> 
> 
http://sourceforge.net/mailarchive/forum.php?thread_id=5641225&forum_id=3252 

> 
> This patch changes configure.in and uses libtool to build libopjdl.so 
and
> libopjan.so.  Therefore, after applying the patch, you must execute 4 
> libtoolize to initialize libtool, then you must execute ./autogen.sh to
> rebuild the configure script.  Finally, you can execute configure, make,
> and make install to complete the installation of the patch.  The
> LD_LIBRARY_PATH environment variable must include the directory to which
> these shared objects are installed. 
> 
> The new optional OProfile configure option, --enable-opjan, enables the
> building of libopjan.so, which is used with Java to provide "OProfile 
Java
> Address-to-Name" support. 
> 
> A compatible level of jvmpi.h (IBM or Sun 1.3 or above) must be copied 
to
> the libopjan directory before libopjan.so can be successfully built. The
> new configure script will copy this file from $JDKDIR/include if the 
JDKDIR
> environment variable has been set to the directory of the active JDK.
> Note that libopjan.so is built using libtool, the presence of which is
> tested at configure time. 
> 
> To invoke opjan support, the -Xrunopjan parameter must be specified when
> you start Java.  For example: 
> 
>         java -Xrunopjan sample 
> 
> will resolve Java methods when running sample.class. 
> 
> This patch should be applied to version 0.8.1 of OProfile. 
> 
> 
> Scott T Jones 
> 
> WBI Performance II
> IBM Corp, Austin, TX
> Reply to:  stjones@us.ibm.com
> Phone:  (512) 838-4758, T/L:  678-4758[attachment "hs_err_pid31378.
> log" deleted by Scott T Jones/Austin/IBM] 
--=_alternative 0072CB8086256FD5_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Reeja,</font>
<br>
<br><font size=2 face="sans-serif">Thanks for the bug report. &nbsp; We
had not seen this one on our 1.4.2 JVM. &nbsp; </font>
<br><font size=2 face="sans-serif">I just downloaded the same JVM and I
get a nearly identical failure. &nbsp; We </font>
<br><font size=2 face="sans-serif">will be sure to fix this before we put
out the next version of the patch next</font>
<br><font size=2 face="sans-serif">week. &nbsp;Thanks again for the information.</font>
<br>
<br><font size=2 face="sans-serif">Scott</font>
<br><font size=2 face="sans-serif"><br>
WBI Performance II<br>
IBM Corp, Austin, TX<br>
Reply to: &nbsp;stjones@us.ibm.com<br>
Phone: &nbsp;(512) 838-4758, T/L: &nbsp;678-4758<br>
</font>
<br>
<br><font size=2><tt>oprofile-list-admin@lists.sourceforge.net wrote on
03/31/2005 12:48:25 PM:<br>
<br>
&gt; Hi,</tt></font>
<br><font size=2><tt>&gt; &nbsp; &nbsp; I am trying to use this patch.
I use SUN JDK-1.5.0_02. I use <br>
&gt; Linux kernel 2.6.8. I successfully compiled oprofile and the opjan
<br>
&gt; library. I used a simple 'Hello World' program with this library as
<br>
&gt; specified in this mail. I get following error. I have attached the
<br>
&gt; log file too. Any help appreciated.</tt></font>
<br><font size=2><tt>&gt; &nbsp;</tt></font>
<br><font size=2><tt>&gt; Thanks,</tt></font>
<br><font size=2><tt>&gt; Reeja</tt></font>
<br><font size=2><tt>&gt; #</tt></font>
<br><font size=2><tt>&gt; # An unexpected error has been detected by HotSpot
Virtual Machine:</tt></font>
<br><font size=2><tt>&gt; #</tt></font>
<br><font size=2><tt>&gt; # SIGSEGV (0xb) at pc=0x400b1f73, pid=31378,
tid=1075191936</tt></font>
<br><font size=2><tt>&gt; #</tt></font>
<br><font size=2><tt>&gt; # Java VM: Java HotSpot(TM) Client VM (1.5.0_02-b09
mixed mode, sharing)</tt></font>
<br><font size=2><tt>&gt; # Problematic frame:</tt></font>
<br><font size=2><tt>&gt; # C [libc.so.6+0x65f73] strlen+0x33</tt></font>
<br><font size=2><tt>&gt; #</tt></font>
<br><font size=2><tt>&gt; # An error report file with more information
is saved as hs_err_pid31378.log</tt></font>
<br><font size=2><tt>&gt; #</tt></font>
<br><font size=2><tt>&gt; # If you would like to submit a bug report, please
visit:</tt></font>
<br><font size=2><tt>&gt; # http://java.sun.com/webapps/bugreport/crash.jsp</tt></font>
<br><font size=2><tt>&gt; #</tt></font>
<br><font size=2><tt>&gt; &nbsp;</tt></font>
<br><font size=2><tt>&gt; -----Original Message-----<br>
&gt; From: oprofile-list-admin@lists.sourceforge.net [mailto:oprofile-<br>
&gt; list-admin@lists.sourceforge.net]On Behalf Of Scott T Jones<br>
&gt; Sent: Monday, February 07, 2005 4:04 PM<br>
&gt; To: oprofile-list@lists.sourceforge.net<br>
&gt; Subject: RE: oprofile and jitted code -- proposal 1<br>
</tt></font>
<br><font size=2><tt>&gt; <br>
&gt; <br>
&gt; This patch adds two new functions to OProfile. &nbsp;First, it adds
the ability<br>
&gt; to resolve addresses in anonymous processes, by integrating libopjdl.so<br>
&gt; into OProfile. &nbsp;This builds upon the patch previously provided
by Will<br>
&gt; Cohen. &nbsp;Second, it provides a Java profiler, libopjan.so, which
resolves<br>
&gt; the names of Java jitted methods, when combined with the first feature.<br>
&gt; This implements the following proposal on the oprofile-list: <br>
&gt; <br>
&gt; http://sourceforge.net/mailarchive/forum.php?thread_id=5641225&amp;forum_id=3252
<br>
&gt; <br>
&gt; This patch changes configure.in and uses libtool to build libopjdl.so
and<br>
&gt; libopjan.so. &nbsp;Therefore, after applying the patch, you must execute
4 <br>
&gt; libtoolize to initialize libtool, then you must execute ./autogen.sh
to<br>
&gt; rebuild the configure script. &nbsp;Finally, you can execute configure,
make,<br>
&gt; and make install to complete the installation of the patch. &nbsp;The<br>
&gt; LD_LIBRARY_PATH environment variable must include the directory to
which<br>
&gt; these shared objects are installed. <br>
&gt; <br>
&gt; The new optional OProfile configure option, --enable-opjan, enables
the<br>
&gt; building of libopjan.so, which is used with Java to provide &quot;OProfile
Java<br>
&gt; Address-to-Name&quot; support. <br>
&gt; <br>
&gt; A compatible level of jvmpi.h (IBM or Sun 1.3 or above) must be copied
to<br>
&gt; the libopjan directory before libopjan.so can be successfully built.
&nbsp;The<br>
&gt; new configure script will copy this file from $JDKDIR/include if the
JDKDIR<br>
&gt; environment variable has been set to the directory of the active JDK.<br>
&gt; Note that libopjan.so is built using libtool, the presence of which
is<br>
&gt; tested at configure time. <br>
&gt; <br>
&gt; To invoke opjan support, the -Xrunopjan parameter must be specified
when<br>
&gt; you start Java. &nbsp;For example: <br>
&gt; <br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; java -Xrunopjan sample <br>
&gt; <br>
&gt; will resolve Java methods when running sample.class. <br>
&gt; <br>
&gt; This patch should be applied to version 0.8.1 of OProfile. <br>
&gt; <br>
&gt; <br>
&gt; Scott T Jones <br>
&gt; <br>
&gt; WBI Performance II<br>
&gt; IBM Corp, Austin, TX<br>
&gt; Reply to: &nbsp;stjones@us.ibm.com<br>
&gt; Phone: &nbsp;(512) 838-4758, T/L: &nbsp;678-4758[attachment &quot;hs_err_pid31378.<br>
&gt; log&quot; deleted by Scott T Jones/Austin/IBM] </tt></font>
--=_alternative 0072CB8086256FD5_=--


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic