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.

Bug 20890 - Poor performance of Association.addLink()
Summary: Poor performance of Association.addLink()
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2002-02-26 14:41 UTC by Svata Dedic
Modified: 2002-10-16 16:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2002-02-26 14:41:11 UTC
I have a 1:N association with a large linkset (~ 15k). My code generates model
data in a bulk operation and I found out that about 37% of the time was spend in
Association.addLink() implementation.
Comment 1 Martin Matula 2002-10-16 16:41:09 UTC
checking for upper multiplicity violation was poorly implemented by
checking size of the whole collection. I have fixed this so now the
addLink performance should be acceptable.