简体   繁体   English

Firefox ESR-在两个不同的选项卡中两次加载同一小程序时,仅打开一个VM

[英]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.

相关问题 在两个不同的JFrame中打开的相同菜单仅在最后一个上起作用 - Same menu opened in two different JFrames works only on the last one Eclipse在两个不同的选项卡中显示相同的文件 - Eclipse shows the same file in two different tabs java中两个不同时间的相同毫秒 - Same milliseconds for two different times in java 具有相同数据的两个数据库,报告的时间不同 - Two databases with the same data, are reporting different times 由于不同的类加载器,从同一个耳朵的两次不同战争中加载同一类时,发生ClassCastException - ClassCastException when loading same Class from two different wars in same ear, due to different class loaders 从Android中的两个不同活动打开时的不同活动行为 - Different Behaviors of Activity when Opened from two Different Activities in Android 为什么而不是两个不同的AsyncTasks执行两次? - Why instead of two different AsyncTasks one executes two times? 更改浏览器选项卡时,从Applet打开的模型对话框位于Applet的后面 - Model dialog opened from Applet is placed behind Applet when changing Browser tabs 如何在TabHost中为两个不同的标签显示相同的布局? - How to display the same layout for two different tabs in a TabHost? 两个相同或不同分隔符之间的子字符串(当分隔符出现多次时) - Substring between two same or different delimiters (when delimiters occur multiple times)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM