Bug 2882 - AboutPluginsDialog very slow to come up on J9 (1GKBJ06)
Summary: AboutPluginsDialog very slow to come up on J9 (1GKBJ06)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin Haaland CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
: 2874 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:45 EDT by Randy Giffen CLA
Modified: 2018-09-27 11:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Giffen CLA 2001-10-10 22:45:21 EDT
Help>About Eclipse Project SDK>Plugin Info...
The dialog appears instantly using the standard JRE but ~34 sec using J9 
The same long delay is encountered if you try to sort any of the columns in the table.

NOTES:
	RG (9/19/01 5:04:36 PM)
	The problem is in the sorting code in sortBy*
	I moved the instantiation of the Collator out of the inner class and it opens in
	about 1 second on J9. 
	I wonder if the JIT is doing this optimization for us in the standard JRE.

	NE (9/20/01 9:02:24 AM)
		I believe instantiating collators is expensive, and assume that JDK caches them whereas J9 may not.
		The method being used is Collator.getInstance(Locale), where the Locale is always Locale.getDefault().

	PDS (9/20/2001 10:40:25 AM)
		J9 has been changed to use the IBM (i.e. JDK) implementation of RuleBasedCollator. Also I've added
		a cache for Collator.getInstance(). Look for these changes in the next J9 1.5 drop (approx 09/28/2001).

	RG (9/20/01 5:03:12 PM)
		I've verified that the problem exists using the (09/14/2001) JCL Drop
Comment 1 DJ Houghton CLA 2001-10-29 19:22:55 EST
PRODUCT VERSION:
135

Comment 2 Randy Giffen CLA 2002-01-22 11:55:33 EST
Problem has been fixed by J9.
Also changed our code to only ask for the collator once rather
than every sort.
Comment 3 Randy Giffen CLA 2002-01-22 11:59:47 EST
*** Bug 2874 has been marked as a duplicate of this bug. ***
Comment 4 Eclipse Genie CLA 2018-09-21 13:45:41 EDT
New Gerrit change created: https://git.eclipse.org/r/129800
Comment 5 Eclipse Genie CLA 2018-09-21 14:05:55 EDT
New Gerrit change created: https://git.eclipse.org/r/129801