SF.net SVN: jikesrvm:[15762] rvmroot/trunk/rvm/src/org/jikesrvm/runtime/ StackTrace.java

View: New views
1 Messages — Rating Filter:   Alert me  

SF.net SVN: jikesrvm:[15762] rvmroot/trunk/rvm/src/org/jikesrvm/runtime/ StackTrace.java

by mikebond :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 15762
          http://jikesrvm.svn.sourceforge.net/jikesrvm/?rev=15762&view=rev
Author:   mikebond
Date:     2009-08-07 20:10:07 +0000 (Fri, 07 Aug 2009)

Log Message:
-----------

Fix for RVM-847.  Stack-walking for inlined methods needs to compute bci for each call site.  Based on stack-walking code in
RVMThread.dumpStack().

Modified Paths:
--------------
    rvmroot/trunk/rvm/src/org/jikesrvm/runtime/StackTrace.java

Modified: rvmroot/trunk/rvm/src/org/jikesrvm/runtime/StackTrace.java
===================================================================
--- rvmroot/trunk/rvm/src/org/jikesrvm/runtime/StackTrace.java 2009-08-06 11:58:25 UTC (rev 15761)
+++ rvmroot/trunk/rvm/src/org/jikesrvm/runtime/StackTrace.java 2009-08-07 20:10:07 UTC (rev 15762)
@@ -371,6 +371,9 @@
               int lineNumber = ((NormalMethod)method).getLineNumberForBCIndex(bci);
               elements[element] = new Element(method, lineNumber);
               element++;
+              if (iei > 0) {
+                bci = OptEncodedCallSiteTree.getByteCodeOffset(iei, inlineEncoding);
+              }
             }
           }
         }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jikesrvm-commits mailing list
Jikesrvm-commits@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-commits