Ejemplo n.º 1
0
void IsolateObj::verify_fields() {
  UsingFastOops fast_oops;
  InstanceClass::Fast ic = Universe::isolate_class();
  ic().verify_instance_field("_next",     "Lcom/sun/cldc/isolate/Isolate;",
                                          next_offset()); 
  ic().verify_instance_field("_uniqueId", "J",
                                          unique_id_offset()); 
  ic().verify_instance_field("_terminated","I",
                                          is_terminated_offset());
  ic().verify_instance_field("_priority","I",
                                          priority_offset());
  ic().verify_instance_field("_saved_exit_code","I",
                                          saved_exit_code_offset());
  ic().verify_instance_field("_mainClass",  "Ljava/lang/String;", 
                                          main_class_offset()); 
  ic().verify_instance_field("_mainArgs",  "[Ljava/lang/String;", 
                                          main_args_offset()); 
  ic().verify_instance_field("_app_classpath",  "[Ljava/lang/String;", 
                                          app_classpath_offset()); 
  ic().verify_instance_field("_sys_classpath",  "[Ljava/lang/String;", 
                                          sys_classpath_offset());
  ic().verify_instance_field("_hidden_packages",  "[Ljava/lang/String;", 
                                          hidden_packages_offset()); 
  ic().verify_instance_field("_restricted_packages",  "[Ljava/lang/String;", 
                                          restricted_packages_offset()); 
  ic().verify_instance_field("_memoryReserve",  "I", 
                                          memory_reserve_offset()); 
  ic().verify_instance_field("_memoryLimit",  "I",
                                          memory_limit_offset()); 
  ic().verify_instance_field("_profileId", "I",
                                          profile_id_offset()); 
}
Ejemplo n.º 2
0
 void set_hidden_packages(Oop* value) {
   obj_field_put(hidden_packages_offset(), value);
 }
Ejemplo n.º 3
0
 ReturnOop hidden_packages(void) const {
   return obj_field(hidden_packages_offset());
 }