Summary: |
Java VM launch should be deferred at the extension starting, not at menu registration |
Product: |
LibreOffice
|
Reporter: |
Jean-Baptiste Faure <jbfaure> |
Component: |
Libreoffice | Assignee: |
Not Assigned <libreoffice-bugs> |
Status: |
NEW
---
|
QA Contact: |
|
Severity: |
normal
|
|
|
Priority: |
medium
|
CC: |
arnaud.versini, sbergman
|
Version: |
4.2.0.0.alpha0+ Master | |
|
Hardware: |
All | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
backtrace to track JVM starter
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 88549 [details] backtrace to track JVM starter Java extensions like Wiki-Publisher modifies the file menu in Writer by adding the sub-entry "To MediaWiki" in the Send entry. It seems that the update of this menu at the starting of Writer (even with an empty document) starts a Java VM. This JVM remains started even if we never use the Wiki-Publisher extension. I suggest that the JVM for Wiki-Publisher extension should be started only when the user explicitly uses this extension. A workaround could be to remove Wiki-Publisher extension from the default installation. I attached a backtrace to locate when and where JNI_CreateJavaVM is called. Best regards. JBF