#include <jvm.h>
This model has all the usual components, a program counter, a stack pointer and stack area, and thread defintions.
Definition at line 78 of file jvm.h.
Data Fields | |
int | argc |
Direct copy of main(argc,,). | |
int | argcj |
Index of argv[] passed to JVM main(). | |
char ** | argv |
Direct copy of main(,argv,). | |
char * | argv0 |
Program name, argv[0 ] in 'C', $0 in sh. | |
char * | argv0name |
Program name argv0,but without path component. | |
char ** | argvj |
Portion of argv[] passed to JVM main(). | |
rchar * | bootclasspath |
BOOTCLASSPATH environment variable | |
rclass | class [JVMCFG_MAX_CLASSES] |
Table of java.lang.Class structures. | |
jvm_class_index | class_allocate_last |
Last class slot to be allocated by class_static_new(). | |
rchar * | classpath |
CLASSPATH environment variable | |
jvm_thread_index | current_thread |
Thread being manipulated by JVM at the current time. | |
jvm_debug_level_enum | debug_message_level |
Verbosity of debug messages in code. | |
char ** | envp |
Direct copy of main(,,envp). | |
rchar * | java_home |
JAVA_HOME environment variable | |
rulong | jvm_instruction_count |
Total number of virtual instructions run by the JVM. | |
robject | object [JVMCFG_MAX_OBJECTS] |
Table of java.lang.Object structures. | |
jvm_object_hash | object_allocate_last |
Last object slot to be allocated by object_instance_new(). | |
pthread_mutex_t | sleeplock |
Thread-safe read/update mechanism for rthread.sleeptime. | |
rchar * | startclass |
Internal name of JVM start class, as Lstart/class/name; . | |
rchar * | startjar |
Name of JAR file containing start class, if any, else rnull. | |
rthread | thread [JVMCFG_MAX_THREADS] |
Table of java.lang.Thread structures. | |
jvm_thread_index | thread_new_last |
Last thread slot to be allocated by thread_new(). | |
volatile rboolean | timeslice_expired |
JVM time slice processing-- use only ONE mutex for inter-thread control of all thread sleep timers. | |
rbyte | unused2 [3] |
4-byte alignment |
|
Direct copy of main(argc,,).
Definition at line 85 of file jvm.h. Referenced by argv_init(). |
|
Direct copy of main(,argv,).
Definition at line 86 of file jvm.h. Referenced by argv_init(). |
|
Direct copy of main(,,envp).
Definition at line 87 of file jvm.h. Referenced by argv_init(). |
|
Program name,
Definition at line 90 of file jvm.h. Referenced by argv_init(). |
|
Program name argv0,but without path component.
Definition at line 93 of file jvm.h. Referenced by argv_init(). |
|
Index of argv[] passed to JVM main().
Definition at line 96 of file jvm.h. Referenced by argv_init(). |
|
Portion of argv[] passed to JVM main(). Should never be rnull, but zero args will have argvj[0] as rnull, which always follows last parm (eg, if 3 args, then argvj[3] == rnull) Definition at line 98 of file jvm.h. Referenced by argv_init(). |
|
Verbosity of debug messages in code.
Definition at line 106 of file jvm.h. Referenced by jvmutil_get_dml(), and jvmutil_set_dml(). |
|
JAVA_HOME environment variable
Definition at line 110 of file jvm.h. Referenced by argv_init(). |
|
CLASSPATH environment variable
Definition at line 112 of file jvm.h. Referenced by argv_init(). |
|
BOOTCLASSPATH environment variable
Definition at line 114 of file jvm.h. Referenced by argv_init(). |
|
Internal name of JVM start class, as
Definition at line 119 of file jvm.h. Referenced by argv_init(). |
|
Name of JAR file containing start class, if any, else rnull.
Definition at line 122 of file jvm.h. Referenced by argv_init(). |
|
JVM time slice processing-- use only ONE mutex for inter-thread control of all thread sleep timers.
volatile just to raise the awareness of users to this issue.)
Definition at line 125 of file jvm.h. Referenced by opcode_run(), timeslice_init(), and timeslice_tick(). |
|
4-byte alignment
|
|
Thread-safe read/update mechanism for rthread.sleeptime. See timeslice.c for details. Definition at line 142 of file jvm.h. Referenced by threadutil_update_sleeptime_interval(), timeslice_get_thread_sleeptime(), and timeslice_init(). |
|
Thread being manipulated by JVM at the current time. Typically accessed as CURRENT_THREAD |
|
Total number of virtual instructions run by the JVM.
See also (rthread) |
|
Last thread slot to be allocated by thread_new().
Definition at line 175 of file jvm.h. Referenced by thread_init(), and thread_state_get_name(). |
|
Table of java.lang.Thread structures. Indexed by jvm_thread_index integers. Typically accessed as THREAD(index) |
|
Last class slot to be allocated by class_static_new().
Definition at line 191 of file jvm.h. Referenced by class_allocate_slot(). |
|
Table of java.lang.Class structures. Indexed by jvm_class_index integers. Typically accessed as CLASS(index) |
|
Last object slot to be allocated by object_instance_new().
Definition at line 209 of file jvm.h. Referenced by object_allocate_slot(), and object_init(). |
|
Table of java.lang.Object structures. Indexed by jvm_object_hash integers. Typically accessed as OBJECT(index) . The jvm_object_hash index is also absolutely identical to a Java object reference and a Java array dimension reference. |