首页> 外国专利> EFFICIENT CONTINUATION STACK STORAGE IN LANGUAGES WITH A GARBAGE COLLECTOR

EFFICIENT CONTINUATION STACK STORAGE IN LANGUAGES WITH A GARBAGE COLLECTOR

机译:用垃圾收集器的语言高效堆叠存储

摘要

Techniques for efficient continuation stack storage are disclosed. In some embodiments, when a continuation yields, the continuation stack, or portion thereof, is copied from a thread stack to a data object, referred to herein as a chunk, allocated from memory. The copied stack portion may maintain the same representation in the chunk as on the thread stack to minimize processing overhead of the operation. When the continuation resumes, the continuation stack, or some portion thereof, is copied from the chunk to the thread stack. During execution, the continuation stack that was copied may be modified on the thread stack. When the continuation yields again, the runtime environment may determine, based at least in part on whether the first object in memory is subject to a garbage collection barrier, whether to copy the modified portion of the continuation stack to the existing chunk or to allocate a new chunk.
机译:公开了有效延续堆栈存储的技术。 在一些实施例中,当延续产量,延续堆栈或其部分被从螺纹堆叠复制到数据对象时,这里称为从内存分配的块。 复制的堆叠部分可以在块上保持与线程堆叠的相同表示,以最小化操作的开销。 当延续恢复,延续堆栈或其一些部分,从块复制到线程堆叠。 在执行期间,可以在线程堆栈上修改复制的继续堆栈。 当再次延续产生时,运行时环境可以至少部分地基于存储器中的第一个对象是否受到垃圾收集屏障来确定,是否将继续堆栈的修改部分复制到现有块或分配a 新块。

著录项

  • 公开/公告号US2021397549A1

    专利类型

  • 公开/公告日2021-12-23

    原文格式PDF

  • 申请/专利权人 ORACLE INTERNATIONAL CORPORATION;

    申请/专利号US202016906879

  • 发明设计人 RON PRESSLER;ERIK ÖSTERLUND;

    申请日2020-06-19

  • 分类号G06F12/02;G06F12/08;G06F9/48;

  • 国家 US

  • 入库时间 2022-08-24 22:59:24

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号