英语翻译Your objects might not get garbage-collected.You might find that the storage for an object never gets released because your program never nears the point of running out of storage.If your program completes and the garbage collector never
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/17 04:41:25
英语翻译Your objects might not get garbage-collected.You might find that the storage for an object never gets released because your program never nears the point of running out of storage.If your program completes and the garbage collector never
英语翻译
Your objects might not get garbage-collected.
You might find that the storage for an object never gets released because your program never nears the point of running out of storage.If your program completes and the garbage collector never gets around to releasing the storage for any of your objects,that storage will be returned to the operating system en masse as the program exits.This is a good thing,because garbage collection has some overhead,and if you never do it you never incur that expense.
英语翻译Your objects might not get garbage-collected.You might find that the storage for an object never gets released because your program never nears the point of running out of storage.If your program completes and the garbage collector never
您的物体可能不会得到垃圾收集.
您可能会发现,存储的对象从来没有得到释放,因为您的计划从来没有接近点耗尽的存储空间.如果您的计划完成和垃圾收集周围从来没有得到释放的存储您的任何物体,即存储将返回到操作系统作为集体退出该计划.这是一件好事,因为垃圾收集有一些开销,如果你从来没有做到这一点你永远不会承担费用.
您的物体可能得不到垃圾收集。
您可能会发现存储的对象从来没有得到释放,因为您的计划从来没有接近点耗尽的存储空间。如果您的计划完成和垃圾收集永远不会得到解决,以释放储存您的任何物体,即存储将返回到操作系统集体退出的计划。这是一件好事,因为垃圾收集有一些开销,如果你从来没有做到这一点你永远不会承担费用。...
全部展开
您的物体可能得不到垃圾收集。
您可能会发现存储的对象从来没有得到释放,因为您的计划从来没有接近点耗尽的存储空间。如果您的计划完成和垃圾收集永远不会得到解决,以释放储存您的任何物体,即存储将返回到操作系统集体退出的计划。这是一件好事,因为垃圾收集有一些开销,如果你从来没有做到这一点你永远不会承担费用。
收起