vm_dataarea.java~10~

来自「Java源码」· JAVA~10~ 代码 · 共 37 行

JAVA~10~
37
字号
package AM.vm_impl.vm_data_structure;

import AM.am_data_structure.DataArea;

/**
 * Created by IntelliJ IDEA. User: yellowicq Date: 2004-4-27 Time: 12:48:22
 * To change this template use File | Settings | File Templates.
 */

public class VM_DataArea implements DataArea {
    //constant pool not implemented
    public VM_StackFrame orStack;
    public Heap heap;
    public Registers regs;
    public MethodArea methodArea;

    public VM_DataArea() {
        orStack = new VM_StackFrame();
        heap = new Heap();
        regs = new Registers();
        methodArea=new MethodArea();
    }

    public void Init() {
        orStack.Init();
        heap.Init();
        regs.Init();
        regs.setStackFramePointer(orStack);
        methodArea.Init();
    }

    public boolean Stop() {
        return true;
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?