Public and static variables are never garbage collected.
公有的和静态的变量是永远不会被垃圾回收的。
The object array (the return value) gets garbage collected as usual.
对象数组(返回值)像平常一样回收垃圾。
ObjectStreamClass is a primordial class and therefore is never garbage collected.
ObjectStreamClass是一个原始类,所以永远不会被垃圾收集。
This is important because the singleton aspects are typically not garbage collected.
这一点很重要,因为单体的方面通常不会被垃圾收集。
This is the place to free resources that won't be garbage collected automatically.
这里是用来释放那些不会被垃圾收集器自动回收的各类资源的地方。
Any classes that are no longer being referenced are then eligible to be garbage collected.
任何类只要不再被引用,它就符合垃圾收集的条件。
Memory Usage: Shows when objects are created, when they are garbage collected, and their size
内存使用情况: S可以显示什么时候对象被创建,什么时候它们被垃圾收集以及它们的大小。
The controls using them will appear to work correctly, but will never be garbage collected.
使用他们的控件看起来运转正常,但却从来不会被垃圾回收器回收。
Retain Forever: Objects with this lifetime are never garbage collected and are accessible to all threads.
RetainForever:具有此生存期的对象不进行垃圾收集并且所有线程都可以访问该对象。
The plot on the Report tab shows statistics about the mean and total amounts of garbage collected during the run.
Report选项卡上的图形显示了有关在运行期间所收集的平均垃圾数量和总垃圾数量的统计信息。
Natives can create global references so that objects are not garbage collected until they are no longer needed.
本机可以创建一些全局引用,以保证对象在不再需要时才会被垃圾收集器回收。
With weak references, you can maintain a reference to the referent without preventing it from being garbage collected.
使用弱引用后,可以维持对referent的引用,而不会阻止它被垃圾收集。
You can plot the amount of garbage collected by selecting amount freed from the GC and Memory Visualizer's VGC Data menu.
您可以绘制收集的垃圾数量的图形,方法是从evtk的VGC Data菜单中选择amountfreed。
Using WeakHashMap solves the problem of Thread objects not getting garbage collected, at some additional performance cost.
以一些额外的性能开销为代价,使用WeakHashMap解决了无法对Thread对象进行垃圾回收的问题。
Conversely, if the heap is too large, long pause times will occur each time the heap is analysed and garbage collected.
反过来,如果堆过大,那么分析堆和执行垃圾回收时将出现很长时间的暂停。
When the object is removed from the chain, there are no more references to it, and it ends up being garbage collected.
当对象从链中去掉时,对象就不再有别的引用,然后就会被垃圾回收。
Thus the data contained within a garbage collected object may still be present in the memory heap in unallocated memory.
因而,垃圾回收对象中所包含的数据可能仍存在于未分配内存的内存堆中。
If it is intended to have a shorter lifetime than the application, ensure that it gets unregistered, so that it can be garbage collected.
如果侦听器的寿命应当比应用程序的短,那么请确保取消它的登记,这样它就可以被垃圾收集。
Most new languages are garbage collected, for example, and I don't understand why people who create languages want to write their own GC.
例如,大多数新语言都带垃圾回收,但我不理解为什么创建这些新语言的人要编写自己的GC呢。
These maps hold weak references to allow tracked objects like connections to be garbage collected when they are referenced only by the aspect.
这些图持有弱引用,允许连接这样的被跟踪对象在只有方面引用它们的时候,被垃圾收集掉。
Because the inner function holds a reference to the outer function's variables, the scope object with property a will not be garbage collected.
由于内部函数持有到外部函数的变量的引用,所以这个带属性a的范围对象将不会被垃圾收集。
This prevents the Socket and User objects from being garbage collected, even though the application is never going to use either of them again.
这会阻止Socket和User对象被垃圾收集,即使应用程序不会再使用它们。
An object will not be garbage collected as long as there is a path of references from an object in the root set to the object in question.
只要根集中的对象到讨论中的对象之间存在引用路径,对象便不会被垃圾回收。
So the more memory that you allocate, the more frequently the memory is garbage collected, and thus the worse your code's performance becomes.
因此,你分配越多的内存,对内存进行垃圾回收的频率就越频繁,你的代码性能就会变得越差。
But as a result, the buffer is never released because it is always reachable by the program (unless the LeakyChecksum object is garbage collected).
但是结果是,缓冲区永远不会被释放,因为它对程序来说总是可及的(除非leakychecksum对象被垃圾收集了)。
When you add a mapping to a WeakHashMap, remember that it is possible that the mapping could "fall out" later because the key is garbage collected.
在向WeakHashMap中添加映射时,请记住映射可能会在以后“脱离”,因为键被垃圾收集了。
The mapping between a class and its ProtectionDomain is set up when the class is first loaded and will not change until the class is garbage collected.
一个类与其ProtectionDomain之间的映射是在类第一次装载时设置的,并在类被垃圾收集之前不会改变。
It would be nice if there was a way to be notified when the referent of a weak reference is garbage collected, and that is what reference queues are for.
如果有一种方法可以在弱引用的referent被垃圾收集时发出通知就好了,这就是引用队列的作用。
NET Framework 4, by default, if a Task that has an unobserved exception is garbage collected, the finalizer throws an exception and terminates the process.
NET框架4,默认情况下,如果有一个例外是避人耳目垃圾收集任务,析构函数抛出异常并终止过程。
NET Framework 4, by default, if a Task that has an unobserved exception is garbage collected, the finalizer throws an exception and terminates the process.
NET框架4,默认情况下,如果有一个例外是避人耳目垃圾收集任务,析构函数抛出异常并终止过程。
应用推荐