[英]Firefox ESR - only one VM is opened when loading the same applet two times in two different tabs
I am using Firefox ESR 10.0.10. 我正在使用Firefox ESR 10.0.10。 When I open the same applet twice in two different tabs only one console is opened. 当我在两个不同的选项卡中两次打开同一小程序时,仅打开一个控制台。 For me it looks like both instances are in the same VM. 对我来说,这两个实例都在同一台VM中。 If I open now a third tab with the same applet a second console is opened, at the fourth tab again not... 如果我现在使用相同的小程序打开第三个选项卡,则打开第二个控制台,而在第四个选项卡上再次没有...
What do I have to do to ensure that a new VM is opened for every tab or applet instance respectively? 如何确保分别为每个选项卡或applet实例打开一个新的VM?
See launching a SEPARATE_JVM
for each applet instance. 请参阅为每个小程序实例启动SEPARATE_JVM
。
A
boolean
parameter specifying that a particular applet should run in its own JVM instance. 一个boolean
参数,指定特定的applet应该在其自己的JVM实例中运行。 This supports certain powerful desktop applets which can not tolerate any interference from other applets running in the same JVM and potentially consuming heap space or other resources. 这支持某些功能强大的桌面小程序,这些小程序不能容忍来自同一JVM中运行的其他小程序的任何干扰,并可能消耗堆空间或其他资源。
<APPLET archive="my_applet.jar" code="MyApplet" width="300" height="300">
<PARAM name="java_arguments" value="...">
<PARAM name="separate_jvm" value="true">
</APPLET>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.