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.
uml core's ModuleInstall "decrypts" (unlocks) one of the libraries it uses, which is very costly operation (loads big chunk of the cryptoapi). Given the fact that the keys are "there" and quite reachable, I see no reason for the decryption step, which slows down the startup by ~300ms (P-M@1733MHz) and increases the VM footprint by (otherwise unused) ~200 crypto classes.
changed to p3 to adhere to Netbeans priority guidelines.
krichard, I think more appropriate in this place is P2. 300ms is a huge amount of time on startup time (if you take into account the whole startup time takes around 12s on the same machine)
Since UML is no longer installed via an installer, I do not think that this is a valid issue any longer. We do not slow down the start up of the IDE, since the IDE is started when the user uses the update center.
This issue was reported by our performance team, not a external user.
I don't really understand your comment. The slowdown is unrelated to the way the module is installed (ModuleInstall's restore() method is called every startup, and the library have to be unlocked every time you start using it in newly started JVM). Once the user installs the module, every time he starts the IDE again (with the module installed and enabled), it will waste 300ms "unlocking" the library? Or is _this_ no longer the case?
Sorry, I did not mean to update this issue. I was meaning to update the issue 81233. I will update that issue.
low use case not currently impacting our installed user base.
fixed. 0 at startup.
Verified. Nice fix.