This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question about ecj integration


Tom Tromey wrote:

- StringBuffer handling, currently we'll see a performance regression
  could be handled by ad hoc optimization pass


Let me start by saying that I know absolutely nothing about how ecj works, but...


Would it make any sense to add one or more hooks in the internals of ecj where we could add extra gcj/libgcj specific optimizers like StringBuffer optimizations?

Or is it preferable to do it as a separate pass over the byte code before compiling with jc1?

Or would it be better to just compile with jc1 and do the optimizations there?

David Daney


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]