https://bugs.freedesktop.org/show_bug.cgi?id=46765

Michael Meeks <michael.me...@novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NOTOURBUG

--- Comment #9 from Michael Meeks <michael.me...@novell.com> 2012-03-02 
02:22:16 PST ---
Thanks Julien - so your strace shows a huge amount of Java-ness happening :)

If we grep the strace log for 'open' we can see roughly what is going on:

30050 1330554064.682136
open("/home/julien/compile-libreoffice/libo/solver/unxlngx6/installation/opt/program/../program/libspelllo.so",
O_RDONLY) = 78
30050 1330554064.716435 open("/proc/self/maps", O_RDONLY) = 78
30050 1330554064.717226 read(78, "05 154162                    
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjava.so\n7fae9fc8c000-7fae9fe8b000
---p 0002d000 08:05 154162                    
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/libjava.so\n7fae9fe8b000-7fae9fe8f000
rw-p 0002"..., 1024) = 1024
30050 1330554064.717276 read(78, "jvm.so\n7faea0ba0000-7faea0c3b000 rw-p
00902000 08:05 270149                    
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server/libjvm.so\n7faea0c3b000-7faea0c64000
rw-p 00000000 00:00 0 \n7faea0d35000-7faea0d67000 rw-p 00000000 00:00 0
\n7faea0d67000-"..., 1024) = 1024
30050 1330554064.717437 read(78, "ridl.jar\n7faea0e97000-7faea0e9a000 r--s
0007d000 08:05 140243                    
/usr/lib/jvm/java-6-openjdk-common/jre/lib/jsse.jar\n7faea0e9a000-7faea0e9b000
r--s 00001000 08:07 532036                    
/home/julien/compile-libreoffice/libo/solver/unxl"..., 1024) = 1024
30050 1330554064.721801
open("/home/julien/compile-libreoffice/libo/solver/unxlngx6/installation/opt/program/../share/extensions/LanguageTool/LanguageTool.uno.jar",
O_RDONLY) = 78
30050 1330554064.750712 open("/proc/self/maps", O_RDONLY) = 78

ie. you have LanguageTool.uno.jar installed - and this is your problem :-)

30050 1330554067.076199
open("/home/julien/compile-libreoffice/libo/solver/unxlngx6/installation/opt/program/../program/pythonloader.uno.so",
O_RDONLY) = 80

After spending from 64.7 seconds to 67.08 seconds - ie. 2+ seconds initializing
java, we move onto dealing with python.

30050 1330554067.226163 open("/usr/lib/python2.7/string.pyc", O_RDONLY) = 82

The python init seems to take under 0.2 of a second.

And then we start doing crazy Java stuff again - endless parsing of
/proc/self/maps as we attach / detach that stuff.

So - this is a known bug; bootstrapping Java & LanguageTool takes ~nearly
forever :-) and there is really not much we can do about that (sadly).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to