summaryrefslogtreecommitdiffstats
path: root/vcl/Module_vcl.mk
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-05-11 12:07:06 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2022-05-12 18:03:17 +0200
commitabb3d544a5043a48398b82ba11eaec3f37f34bc8 (patch)
tree7cd744d4d6743382a0a8e4e45c0a08d04d090878 /vcl/Module_vcl.mk
parentstoc/javaloader: create instances with uno constructors (diff)
downloadcore-abb3d544a5043a48398b82ba11eaec3f37f34bc8.tar.gz
core-abb3d544a5043a48398b82ba11eaec3f37f34bc8.zip
officecfg,stoc: allow running JVM UNO components out-of-process
The problem is that 32-bit Win32 applications have very little VM, and soffice.bin can run out, so try to move the JVM to a separate process (uno.bin) and connect to it via pipe. Add a new config to enable this: "org.openoffice.Office.Java/VirtualMachine/RunUnoComponentsOutOfProcess" If enabled, ServiceManager instantiates *all* JVM components out-of-process, by instantiating "com.sun.star.java.theJavaVirtualMachine" out-of-process. To ensure that the remote connection is disconnected at shutdown (and thereby prevent crashes with remote calls during late shutdown), JavaComponentLoader is now a "single-instance" service; this change should be harmless for the default in-process configuration case. Tested with these extensions: Wiki Publisher smoketest TestExtension.oxt odk CalcAddins.oxt Inspector.oxt ToDo.oxt Also passed "make check" on Linux when enabled, if the variable URE_BIN_DIR is set properly for CppunitTest_services. Change-Id: I76bf17a9512414b67dbd20daee25a6d29c05f9d9
Diffstat (limited to 'vcl/Module_vcl.mk')
0 files changed, 0 insertions, 0 deletions