这些工具通常允许创建软件的静态和动态模型,包括类、活动、状态、组件和整体的模型结构(包)。
These tools generally allow for the creation of static and dynamic models of the software, including classes, activity, state, components, and the overall model structure (packages).
就本例而言,我发现只须添加一个窗体,将它删除,然后强制执行垃圾收集,结果就会导致与被删除窗体相关联的许多类实例仍然处于活动状态。
For this example, I found that simply adding a form, deleting the form, and then forcing a garbage collection resulted in many class instances associated with the deleted form to still be alive.
保留到反射对象的引用会造成这些类保持为活动状态并继续占用空间。
Holding references to the reflecting objects causes these classes to stay alive and continue occupying space.
应用推荐