⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vm_dataarea.java

📁 Java源码
💻 JAVA
字号:
package AM.vm_impl.vm_data_structure;

import AM.am_data_structure.*;

/**
 * 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 stackFrame;
  public Heap heap;
  public Registers regs;
  public MethodArea methodArea;

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

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

  public boolean Stop() {
    //here data area could stop anytime
    return true;
  }

}

⌨️ 快捷键说明

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