[jboss-jira] [JBoss JIRA] (JBAS-9471) InMemoryClassesDeployer using GUID using as host causes DNS lookup, slowing down boot process

Ales Justin (JIRA) jira-events at lists.jboss.org
Sun Feb 5 15:28:48 EST 2012


    [ https://issues.jboss.org/browse/JBAS-9471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664322#comment-12664322 ] 

Ales Justin commented on JBAS-9471:
-----------------------------------

http://anonsvn.jboss.org/repos/jbossas/projects/vfs/branches/Branch_2_2/

But where does this equals/hashcode happen?
As I know we use a special URL compare in Classloading code just for this kind of purpose -- not to hit DNS.
* http://anonsvn.jboss.org/repos/jbossas/projects/jboss-cl/branches/Branch_2_0/classloader/src/main/java/org/jboss/classloader/plugins/ClassLoaderUtils.java

                
> InMemoryClassesDeployer using GUID using as host causes DNS lookup, slowing down boot process
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBAS-9471
>                 URL: https://issues.jboss.org/browse/JBAS-9471
>             Project: Application Server 3  4  5 and 6
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ClassLoading, Deployers
>    Affects Versions: JBossAS-5.1.0.GA
>            Reporter: Hasan Ceylan
>            Assignee: Ales Justin
>            Priority: Minor
>
> InMemoryClassesDeployer creates a URL with a guid in host section.
> During hashcode() operations this causes DNS reverse lookup causing the boot time to be prolonged ~10 seconds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list