[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.imp] Re: Possible performance bug in LPG?

Hi there,

Sorry for not having responded earlier; I was on vacation and recovering
from an important deadline. :-)

Yes, LPG issues are best brought up on the LPG forum on SourceForge.

[The connection between IMP and LPG is that the main LPG developer,
Philippe Charles, is also a member of the IMP team, but they're really
separate projects.]

Dieter Kleinrath wrote:
Hi Ed,

Sorry. For whatever reason I thougth IMP and LPG are somehow connected. The report would certainly belong to the LPG newsgroup.
Thanks for pointing out the memory problems associated with reusing a parser in general.


Dieter


Am 28.06.2009, 07:38 Uhr, schrieb Ed Willink <ed@xxxxxxxxxxxxx>:
Hi Dieter

 > This bug can be fixed very easy by adding the following lines to the
 > reset method in the DeterministicParser:
 >     locationStack = null;
 >     parseStack= null;
 >     stateStack= null;

A bug with LPG should be raised against LPG and perhaps discussed
on an LPG newsgroup.

I am merely pointing out how difficult it is to avoid locking parsed
artefacts in memory and consequently how reuse of a parser perhaps
aggaravates the difficulties.

    Regards

Ed Willink





--
Cheers,
  -- Bob

--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center

IDE Meta-tooling Platform Project Lead (http://www.eclipse.org/imp)
X10: Productive High-Performance Parallel Programming (http://x10.sf.net)