Bug 226929 - CacheManager uses URL.hashCode()
Summary: CacheManager uses URL.hashCode()
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2008-04-14 09:43 EDT by Simon Kaegi CLA
Modified: 2008-04-14 10:07 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 Simon Kaegi CLA 2008-04-14 09:43:50 EDT
URL.hashCode() is a blocking call that does work similar work to equals(). I noticed this when running tests on a slow connection where I saw a DNS lookup on the stack. We should probably look at using URL.toExternalform().hashCode() instead.
Comment 1 John Arthorne CLA 2008-04-14 10:07:08 EDT
Fixed.