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.
Created attachment 129818 [details] snapshot One call to InstanceContent.add() causes nearly 1000 calls of Class.getComponentType() taking 16s.
Having steps to reproduce or at least description of your use-case would help you justify the currently assigned priority.
No steps to reproduce just the snapshot from slowness. I've entered it with high priority as a single IC.add() took 16s. Feel free to decrease the priority.
You are right, the reflection is completely unnecessary. Eliminated in ergonomics#4403733f88c5 Thanks for pointing that out.
Integrated into 'main-golden', will be available in build *201301110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4403733f88c5 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #224381: Eliminating need for reflection by passing in properly sized array
This hasn't been fixed in 7.3 yet, if you want to do so, please integrate into release73 branch.
Merged as changeset: b13bd4b8b257 branch: release73
Integrated into 'releases', will be available in build *201301141642* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/4403733f88c5 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #224381: Eliminating need for reflection by passing in properly sized array