文件名称:JVMThreadPractice
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2015-06-02
- 文件大小:
- 30kb
- 下载次数:
- 0次
- 提 供 者:
- 任**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
模拟JVM虚拟机和基础指令集设计的JAVA语言模拟的JVM
(invoke,rt_obj,dst_obj,dst_method,obj_args):方法调用指令,dst_obj为被调用的目标对象,dst_method为被调用的目标方法,obj_args是输入的对象引用参数,只能是在当前栈帧能够访问的对象。一个方法所传入的对象参数个数一旦确定不能变,不超过3个。rt_obj为接收dst_method运行返回值的变量。同理,一个方法是否会返回对象引用,以及返回对象的类型一旦确定不能变。
(run,dst_thread,obj_args):启动线程执行指令,dst_thread为目标线程,obj_args为传入的对象引用参数,规定同上。
(return, rt_obj):方法执行返回指令,rt_obj为返回的对象引用。
(exit, dst_thread):线程执行终止指令,一个线程执行终止意味该线程所拥有的栈资源将被释放。
(new, tar_class, tar_obj):构造对象指令,构造一个类型为tar_class的对象,并使用变量tar_obj来引用。默认所有对象的size都相同,比如20个byte,输入不提供相应信息。
(create, tar_thread):创建一个线程,但是不启动。
(link, src_obj, dst_obj):表示从src_obj到dst_obj有一个引用
(assign, src_obj, dst_obj):对象引用赋值,让dst_obj指向src_obj引用的对象
-Simulation of JAVA language simulation of JVM by simulating JVM virtual machine and basic instruction set design
(invoke, RT obj, DST obj, DST method, obj args): method call instruction and DST obj to be the target of the call object, the DST method to be the target of the call method, obj args is input object reference parameters can only be in the current stack fr a me to be able to access the object. Once the number of parameters passed by a method is determined not to change, no more than 3. Rt_obj variable that returns the value of the dst_method operation to the receiver. Similarly, whether a method returns an object reference, and a type once the object is returned.
(run, dst_thread, obj_args): the boot thread s the instruction, dst_thread is the target thread, the obj_args is the incoming object reference parameter, the same as above.
(return, rt_obj): the method s the return instruction, and rt_obj is a reference to the returned object.
(exit, dst_thread): the thread s th
(invoke,rt_obj,dst_obj,dst_method,obj_args):方法调用指令,dst_obj为被调用的目标对象,dst_method为被调用的目标方法,obj_args是输入的对象引用参数,只能是在当前栈帧能够访问的对象。一个方法所传入的对象参数个数一旦确定不能变,不超过3个。rt_obj为接收dst_method运行返回值的变量。同理,一个方法是否会返回对象引用,以及返回对象的类型一旦确定不能变。
(run,dst_thread,obj_args):启动线程执行指令,dst_thread为目标线程,obj_args为传入的对象引用参数,规定同上。
(return, rt_obj):方法执行返回指令,rt_obj为返回的对象引用。
(exit, dst_thread):线程执行终止指令,一个线程执行终止意味该线程所拥有的栈资源将被释放。
(new, tar_class, tar_obj):构造对象指令,构造一个类型为tar_class的对象,并使用变量tar_obj来引用。默认所有对象的size都相同,比如20个byte,输入不提供相应信息。
(create, tar_thread):创建一个线程,但是不启动。
(link, src_obj, dst_obj):表示从src_obj到dst_obj有一个引用
(assign, src_obj, dst_obj):对象引用赋值,让dst_obj指向src_obj引用的对象
-Simulation of JAVA language simulation of JVM by simulating JVM virtual machine and basic instruction set design
(invoke, RT obj, DST obj, DST method, obj args): method call instruction and DST obj to be the target of the call object, the DST method to be the target of the call method, obj args is input object reference parameters can only be in the current stack fr a me to be able to access the object. Once the number of parameters passed by a method is determined not to change, no more than 3. Rt_obj variable that returns the value of the dst_method operation to the receiver. Similarly, whether a method returns an object reference, and a type once the object is returned.
(run, dst_thread, obj_args): the boot thread s the instruction, dst_thread is the target thread, the obj_args is the incoming object reference parameter, the same as above.
(return, rt_obj): the method s the return instruction, and rt_obj is a reference to the returned object.
(exit, dst_thread): the thread s th
(系统自动生成,下载前可以参看下载内容)
下载文件列表
JVMThreadPractice\.classpath
.................\.project
.................\.settings\org.eclipse.jdt.core.prefs
.................\bin\Element.class
.................\...\GC_Thread.class
.................\...\Heap.class
.................\...\InputSolved.class
.................\...\Instruction.class
.................\...\JVMTest.class
.................\...\Main_Thread.class
.................\...\Memory_Thread.class
.................\...\Method.class
.................\...\Stack.class
.................\...\StackFrame.class
.................\...\VirOfStack.class
.................\src\Element.java
.................\...\GC_Thread.java
.................\...\Heap.java
.................\...\InputSolved.java
.................\...\Instruction.java
.................\...\JVMTest.java
.................\...\Main_Thread.java
.................\...\Memory_Thread.java
.................\...\Method.java
.................\...\Stack.java
.................\...\StackFrame.java
.................\...\VirOfStack.java
.................\.settings
.................\bin
.................\src
JVMThreadPractice