弱引用特别适合以下对象:占用大量内存,但通过垃圾回收功能回收以后很容易重新创建。
Weak references are useful for objects that use a lot of memory, but can be recreated easily if they are reclaimed by garbage collection.
引用类的主要功能就是能够引用仍可以被垃圾收集器回收的对象。
The main feature of the reference classes is the ability to refer to an object that can still be reclaimed by the garbage collector.
若在一个含有垃圾回收器功能的活动堆栈上发生崩溃,应查询代码中的PInvokes函数,查是否因缓冲区太小而发生穿越行为。
If you get a crash and the top of the active stack contains a GC function, start looking for PInvokes in your code and see if you might be passing buffers that are too small.
Reinhold推测合并后的VM将使用JRockit的垃圾回收器与服务功能,使用HotSpot的运行时编译器与混合的运行时系统。
Reinhold speculated that the merged VM could have the JRockit garbage collector and serviceability, with the HotSpot runtime compiler and a mixed runtime system.
生存期服务可采用传统分布式垃圾回收器的功能,并在客户端数目增加时能很好地扩展。
The lifetime service can assume the function of a traditional distributed garbage collector, and scales well when the number of clients increases.
生存期服务可采用传统分布式垃圾回收器的功能,并在客户端数目增加时能很好地扩展。
The lifetime service can assume the function of a traditional distributed garbage collector, and scales well when the number of clients increases.
应用推荐