• 对象时,如果子对象的生存时间对象基本相同他们应该同时分配使他们在GC中的位置也是相近的。

    When you allocate the children of an object, if the children need to have similar life time as their parent they should be allocated at the same time so they will stay together on the GC heap.

    youdao

  • 大多数收集器实现而言分配子系统持有一个自由内存应用程序通过使用池,然后收集器通过清理来补充该池。

    For most collector implementations, the allocation subsystem keeps a pool of free heap memory, consumed by the application through allocating objects and replenished by the collector through sweeping.

    youdao

  • C+ +向程序员提供选择

    C + + offers programmers a choice of allocating objects on the heap or on the stack.

    youdao

  • C+ +向程序员提供选择

    C + + offers programmers a choice of allocating objects on the heap or on the stack.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定