发明名称 Method frame storage using multiple memory circuits
摘要 A memory architecture in accordance with an embodiment of the present invention improves the speed of method invocation. Specifically, method frames of method calls are stored in two different memory circuits. The first memory circuit stores the execution environment of each method call, and the second memory circuit stores parameters, variables or operands of the method calls. In one embodiment the execution environment includes a return program counter, a return frame, a return constant pool, a current method vector, and a current monitor address. In some embodiments, the memory circuits are stacks; therefore, the stack management unit to cache can be used to cache either or both memory circuits. The stack management unit can include a stack cache to accelerate data transfers between a stack-based computing system and the stacks. In one embodiment, the stack management unit includes a stack cache, a dribble manager unit, and a stack control. The dribble manager unit include fill control it and a spill control unit. Since the vast majority of memory accesses to the stack occur at or near the top of the stack, the dribble manager unit maintains the top portion of the stack in the stack cache. When the stack-based computing system is popping data off of the stack and a fill condition occurs, the fill control unit transfer data from the stack to the bottom of the stack cache to maintain the top portion of the stack in the stack cache. Typically, a fill condition occurs as the stack cache becomes empty and a spill condition occurs as the stack cache becomes full.
申请公布号 US6532531(B1) 申请公布日期 2003.03.11
申请号 US19970787617 申请日期 1997.01.23
申请人 SUN MICROSYSTEMS, INC. 发明人 O'CONNOR JAMES MICHAEL;TREMBLAY MARC
分类号 G06F9/34;G06F3/00;G06F9/00;G06F9/30;G06F9/318;G06F9/345;G06F9/40;G06F9/42;G06F9/44;G06F9/455;G06F11/00;G06F12/08;G06F15/78;(IPC1-7):G06F11/00 主分类号 G06F9/34
代理机构 代理人
主权项
地址