This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | o.n.m.c.makeproject.api.configurations.Item shouldn't store file | ||
---|---|---|---|
Product: | cnd | Reporter: | Vladimir Kvashin <vkvashin> |
Component: | Project | Assignee: | Thomas Preisler <thp> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 120036, 123872 |
Description
Vladimir Kvashin
2007-10-25 14:45:30 UTC
I don't mean this will save a lot - probably about 1-2% of total memory consumption. But, as soon as we start makeproject memory optimizations (I hope this will occur some day), this 1-2% will be a rather low hanging fruit. Not sure what to fix. It make sense to cache File in Item for internal purposes and File is available with getFile() in the NativeFileItem interface. Why can't you just use NativeFileItem.getFile() in your code? |