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 140389 - NetBeans startup regression: org.netbeans.modules.hibernate.loaders
Summary: NetBeans startup regression: org.netbeans.modules.hibernate.loaders
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ gowri
URL: http://wiki.netbeans.org/FitnessViaWh...
Keywords: PERFORMANCE, REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2008-07-16 18:52 UTC by Alexander Kouznetsov
Modified: 2008-07-24 16:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stacktraces (251.41 KB, text/xml)
2008-07-16 18:52 UTC, Alexander Kouznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2008-07-16 18:52:12 UTC
Performance whitelist test reports that the following classes are being loaded on NetBeans startup:

org.netbeans.modules.hibernate.loaders.cfg.HibernateCfgDataLoader
org.netbeans.modules.hibernate.loaders.cfg.HibernateCfgDataObject
org.netbeans.modules.hibernate.loaders.mapping.HibernateMappingDataLoader
org.netbeans.modules.hibernate.loaders.mapping.HibernateMappingDataObject
org.netbeans.modules.hibernate.loaders.reveng.HibernateRevengDataLoader
org.netbeans.modules.hibernate.loaders.reveng.HibernateRevengDataObject

This is considered as NetBeans performance regression. Please remove these classes from NetBeans startup.

This issue is based on jtulach's comment:
P2 to switch to new loader registrations scheme.
Comment 1 Alexander Kouznetsov 2008-07-16 18:52:45 UTC
Created attachment 64740 [details]
Stacktraces
Comment 2 _ gowri 2008-07-16 21:13:01 UTC
Sent code for review to jtulach. 
Comment 3 _ gowri 2008-07-17 18:32:35 UTC
Fixed : http://hg.netbeans.org/main/rev/41a4588e67a7
Comment 4 Jaroslav Tulach 2008-07-18 13:32:10 UTC
Looks sort of OK. Please also add the names of the loader classes into the blacklist.txt.
Comment 5 Alexander Kouznetsov 2008-07-24 12:27:00 UTC
Added

org.netbeans.modules.hibernate.loaders.cfg.HibernateCfgDataLoader
org.netbeans.modules.hibernate.loaders.mapping.HibernateMappingDataLoader
org.netbeans.modules.hibernate.loaders.reveng.HibernateRevengDataLoader

to blacklist.
Comment 6 _ gowri 2008-07-24 16:20:29 UTC
Alex, Thanks for adding them to blacklist.