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: | Suggest proxies for system actions to delay loading | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Actions | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | rkubacki, ttran |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 17527, 17597 |
Description
Jesse Glick
2001-07-11 19:45:06 UTC
Target milestone -> 3.3.1. Reassigned to Dafe How important, Jesse can you estimate how much it can help? If it is really P4, I would delay it for 4.0. I think it is a basic part of the Actions API rework planned for 3.4, right? Since we are planning to overhaul actions, the new Commands API should do this. No one will care about SystemAction which would be only for compatibility. Set target milestone to TBD Set target milestone to TBD Yes, should be done to 4.0. Adjusting priority a bit (performance), passing to Peter. Assigned to new owner. Surely if we want to improve action infrastructure this should be supported. As already stated we can reduce number of loaded classes. This can have positive impact on our startup (including warmup). I am not sure how far we can go but probably we need to access module JARs anyway to get the icon and name. Avoiding to open these JARs can get us even bigger win but we do not have an estimation how many modules are opened because they only contribute actions. Proxies to avoid class loading are fine. I do not think it is wise to hack the APIs to avoid opening JARs at all. We will probably never win, and anyway it would be far better to do some local optimizations in the module class loaders (e.g. caching previously loaded resources) than to try this. Already implemented. *** This issue has been marked as a duplicate of 17597 *** |