首页> 外国专利> DYNAMIC REDUCTION OF STACK-OVERFLOW ERRORS IN A RECURSIVE DATA-SERIALIZATION ALGORITHM

DYNAMIC REDUCTION OF STACK-OVERFLOW ERRORS IN A RECURSIVE DATA-SERIALIZATION ALGORITHM

机译:递归数据串行化算法中堆栈溢出错误的动态减少

摘要

A data-serialization system initially uses a recursive serialization algorithm to serialize a hierarchy of nested data objects by translating those objects into a serial stream of data. The system determines that a stack-overflow error is likely to occur whenever the number of objects serialized by the system exceeds a threshold value, or whenever the stack has reached an unacceptable level of utilization. When the system determines that a stack-overflow error is likely or if the system detects that a stack-overflow error will definitely occur if another object is serialized, the system either transfers control to a nonrecursive algorithm that does not require a stack data structure or reduces stack utilization by transferring contents of the stack to a variable-size queue-like data structure.
机译:数据序列化系统最初使用递归序列化算法,通过将嵌套数据对象的层次结构转换为串行数据流来序列化嵌套数据对象的层次结构。每当系统序列化的对象数超过阈值或堆栈使用率达到不可接受的水平时,系统就会确定可能发生堆栈溢出错误。当系统确定可能发生堆栈溢出错误,或者如果系统检测到如果序列化另一个对象时肯定会发生堆栈溢出错误,则系统将控制权转移到不需要堆栈数据结构的非递归算法,或者通过将堆栈的内容传输到可变大小的类似队列的数据结构来降低堆栈利用率。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号