harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Estelle Liu" <lyy1...@gmail.com>
Subject [drlvm][jitrino]runtime error after escape optpass added
Date Thu, 15 Mar 2007 10:53:03 GMT
 I run into such a runtime error recently:
First, escape optpass is added in the client.emconf file as below:
And then bytecode classes  are translated and optimized ,whose source
code are :

public class Example {
  static public void main(String[] arg){
      Example e = new Example();
      for(long i = 1;i<=20000;i++)
      {e.count(i) ;}
     } //main
  public void count(long i){
      Long c = new Long(i);
      System.out .println(c.longValue() );
     } //count
 } //Example

It is odd that assertion errors occur when method count runs the 2496th
The assertion errors would be like:

File: \trunk\working_vm…\CGSupport.cpp

Line: 253

Expression: (size_t)key < theVector àsize()

Anything  is wrong here?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message