| Summary: | Improve source code parsing speed by only parsing souce files as-needed | ||
|---|---|---|---|
| Product: | frysk | Reporter: | Rick Moseley <rmoseley> |
| Component: | general | Assignee: | Rick Moseley <rmoseley> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ajocksch, mcvet |
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Bug Depends on: | |||
| Bug Blocks: | 1633, 3392 | ||
|
Description
Rick Moseley
2006-12-12 21:30:08 UTC
This has now been fixed in cvs head. Source code is now only added to the DOM on an as-needed basis, that is, as it is stepped into or a stack frame is clicked on that requires a source file not currently in the DOM. * DOMCommon.java: New. * DomImage.java: Add addSource method to call parser when adding source element to DOM. * TestParser.java: Call methods in DOMCommon instead of DOMFactory. * DOMFactory.java: Pull static methods out and put in DOMCommon. * fparser.java: Use methods from DOMCommon instead of DOMFactory. * SourceWindow.java (generateProcStackTrace): Add logic to only parse source file when necessary. |