清单2.指向Servlet的全局引用。
对于许多JVM来说,它们包括关于全局引用的信息。
For many JVMs, they include information about global references. For example, the recent Sun JVMs include the following line in the dump information.
对于IBMJ VM,使用以下步骤获取关于全局引用的信息。
For the IBM JVM, use these steps to obtain information on global references.
通过生成前后转储,您可以确定是否创建了任何未正常释放的全局引用。
By generating before and after dumps, you can assess if you're creating any global references that are not being freed when they should be.
这样让全局引用计数对类工厂对象的引用计数不再起作用了。
Thus for global reference counting, references to the class factory object should not count.
创建全局引用时,JVM 会将它添加到一个禁止垃圾收集的对象列表中。
When the global reference is created, the JVM adds it to a list that excludes that object from garbage collection.
本机可以创建一些全局引用,以保证对象在不再需要时才会被垃圾收集器回收。
Natives can create global references so that objects are not garbage collected until they are no longer needed.
这个跟踪以根集开始,它由一些内部结构组成,比如线程栈和对象的全局引用。
This tracing starts with the root set, which consists of internal structures such as thread stacks and global references to objects.
同时,对构建实体和关系的全局引用也无能为力,所有事情都聚焦于文档域的内容。
There is no real capacity to make global references to entities and relationships; everything is focused on document-scope content.
当本机返回时,它不仅会释放全局引用,应用程序还无法获取引用以便稍后释放它—因此,对象将会始终存在。
When the native returns, not only has it not freed the global reference, but the application also no longer has a way to get the reference in order to free it later - so the object will live forever.
您需要在JSP文件中定义全局引用(参见清单2),以便可以对Portlet请求库进行访问。
You need to define the global reference (see Listing 2) in the JSP file so that you have access to the portlet request library.
该声明首先是Flex应用程序的全局引用,然后是始终以字符串get 为开头、后接目标对象ID的方法调用。
The declaration begins with the global reference to the Flex application, then a method call that always begins with the string get followed by the ID of the target object.
现在您已经获得了Flex应用程序的全局引用,您可以通过FABridge提供的一致接口访问ActionScript对象。
Now that you've obtained a global reference to the Flex application, you can access ActionScript objects through the consistent interface that the FABridge provides.
不释放全局引用会造成各种问题,不仅因为它们会保持对象本身为活动状态,还因为它们会将通过该对象能接触到的所有对象都保持为活动状态。
Not freeing global references causes issues not only because they keep the object itself alive but also because they keep alive all objects that can be reached through the object.
您可以使用全局元素作为根节点,并且可以从模式的其他部分引用它们。
You can use global elements as root nodes and can reference them from other parts of the schema.
请注意,如果函数、方法、触发器或视图中引用了某个全局变量,则不能删除该变量。
Please note that the global variable cannot be dropped if it is referenced in a function, method, trigger or view.
资源,或者特定信息来源是REST的一个重要组成,每个资源都可以通过一个全局标识符引用。
Resources, or sources of specific information, are an important component of REST, and each resource is referenced with a global identifier.
当在会话中第一次引用时,全局变量将进行实例化来获得其默认值。
A global variable is instantiated to its default value when it is first referenced in the session.
A:索引查找利用全局索引扫描,来确定对分区的引用是否存在。
A: With global index scans, the index look-up determines whether a reference to a partition exists.
将各种类型的引用映射到目标对象的全局JNDI名称是一项常见的迁移任务。
Mapping the various types of references to the global JNDI names of the target objects is a common porting task.
通过使用全局转发,只要逻辑引用名不变,我们就不必因为URI有所变动而修改我们的代码。
Using global forwards, we protect our code from changes to the URI as long as the logic reference name remains constant.
如果在没有使用模式名情况下引用全局变量,则使用SQL路径协助解析名称。
When a global variable is referenced without the schema name, the SQL path is used to assist in the name resolution.
导致泄漏的原因很多,包括越来越多的散列表、不确定保存的大型资源对象和未清理的全局JNI引用。
A number of conditions can cause leaks, including ever-expanding hash tables, large resource objects being held indefinitely, and global JNI references not being cleaned up.
一个人需要确定这是否是有限功能的第一个原型,这要求一些全局测试,或是否它引用到部署之前的最新迭代。
One needs to determine whether this is a first prototype with limited functionality, which requires some global testing, or whether it refers to the last iteration before deployment.
对开发者来说造成挫败的一个共同的源泉就是用来解析和查找EJB引用的映射信息(如全局JNDI名)的不可移植性。
One common source of frustration for developers is the non-portability of the mapping information (e.g. global JNDI names) used to resolve and lookup EJB references.
在第一次引用时,默认表达式将为全局变量计算一个值。
The default expression calculates a value to assign to the global variable the first time it is referenced.
全局转发使逻辑名与JSP或操作的引用的URI关联。
Global forwards associates a logical name to a URI for references to either JSPs or Actions.
它还会创建一个引用SPE程序的全局变量,这样ppe就能够将程序加载到SPE中并根据需要来运行程序了。
It also creates a global variable that refers to the SPE program so that the PPE can load the program into the SPEs and run the program as needed.
清单2显示每个WSDL消息有两个WSDL部分,每个部分引用一个全局元素。
Listing 2 shows that each WSDL message has two WSDL parts and each part refers to a global element.
清单2显示每个WSDL消息有两个WSDL部分,每个部分引用一个全局元素。
Listing 2 shows that each WSDL message has two WSDL parts and each part refers to a global element.
应用推荐