There are other idioms that can similarly ignore or subvert object lifecycle management and can also lead to memory leaks.
还有一些其他的情况可以类似地忽略或破坏对象生命周期管理,并导致内存泄漏。
Reference queues are the garbage collector's primary means of feeding back information to the application about object lifecycle.
引用队列是垃圾收集器向应用程序返回关于对象生命周期的信息的主要方法。
A further technique for increasing consumability is to create service interfaces reflecting the states of the business object lifecycle.
增加易用性的另一项技术是,创建反映业务对象生命周期的状态的服务接口。
应用推荐