Objects created in immortal memory are never cleaned up and live for the application's lifetime.
在不朽内存中创建的对象从来不会被清除,在应用程序的生命周期中一直存在。
You need to be aware of your program's behavior and adjust the size of immortal memory appropriately.
需要注意程序的行为并适当地调整永久内存的大小。
To ensure the integrity of the heap and the immortal memory area, the RTSJ defines rules for using scoped memory.
为确保堆和不朽内存区域的完整性,RTSJ定义了使用作用域内存的规则。
Before we can apply scoped and immortal memory to our design, we need to understand a little more about how they work.
要为我们的设计应用作用域和不朽内存,首选需要对其工作原理略知一二。
You can implement the proposed model using standard RTSJ scopes and the immortal memory area. Scopes are used to support objects with the defined lifetimes, as indicated in Table 3
您可以使用标准的RTSJ 作用域和不朽内存区域实现前面提出的模型。
Immortal memory is a resource required by the RTSJ that is not subject to GC.
永久内存是RTSJ所需要的并且不服从GC的资源。
Immortal memory provides a memory space that's not subject to GC; this means NHRTs are allowed to refer to immortal objects.
永久内存提供了一个不服从GC的内存空间;即,NHRT可以引用永久对象。
Immortal memory provides a memory space that's not subject to GC; this means NHRTs are allowed to refer to immortal objects.
永久内存提供了一个不服从GC的内存空间;即,NHRT可以引用永久对象。
应用推荐