« Return to Thread: [jira] Created: (RVM-714) Massive increase in time to execute VM.boot

[jira] Commented: (RVM-714) Massive increase in time to execute VM.boot

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/RVM-714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=164222#action_164222 ]

Filip Pizlo commented on RVM-714:
---------------------------------

We (Daniel and I) found the reason.  It's InetAddress's static initializer.  That was the fix for RVM-700 - running it eagerly.  It turns out this static initializer takes a few seconds, because it tries to resolve 0.0.0.0 to a name (getHostByAddr), which on all of our machines at least, takes a long time.

This is a classpath bug.  InetAddress should be initialized at some point no matter how you look at it.  And it shouldn't take that long.

The fix I would propose is to put an entry of 0.0.0.0 into java.net.ResolverCache, at least, provided that we know, for all reasonable platforms, what 0.0.0.0's name is "supposed" to be according to Java.

-F

> Massive increase in time to execute VM.boot
> -------------------------------------------
>
>                 Key: RVM-714
>                 URL: http://jira.codehaus.org/browse/RVM-714
>             Project: RVM
>          Issue Type: Bug
>            Reporter: Ian Rogers
>            Priority: Blocker
>             Fix For: svn head
>
>         Attachments: verbose.out, VM.java
>
>
> r15151("Fix for RVM-700, failure for ServerSockets to work.") has caused a large amount of class loading to occur during VM.boot. This has increased the boot time by a factor of 10 on my system (0.5s to 5s).

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

 « Return to Thread: [jira] Created: (RVM-714) Massive increase in time to execute VM.boot