docs/infrastructure/dual_jvm.md
Dual JVM mode allows Enso to run both native-compiled code and JVM bytecode in the same process. This enables fast startup and efficient execution of libraries that require the JVM.
<!-- MarkdownTOC levels="2,3" autolink="true" --> <!-- /MarkdownTOC -->--jvm switch is used--jvm option is passed to the engine runner, NI immediately
delegates execution to the HotSpot VM.
jvm: true in its descriptor.sbt:enso> runEngineDistribution --jvm
--vm.D=polyglot.enso.classLoading=Standard.Base:hosted,guest
--run test/Base_Tests/ --debug
Standard.Base should use host JVM and all other libraries should
use the guest JVMorg.enso.jvm.interop.limit propertysbt:enso> runEngineDistribution --jvm
--vm.D=org.enso.jvm.interop.limit=100000
--vm.D=polyglot.enso.classLoading=Standard.Base:hosted,guest
--run test/Generic_JDBC_Tests