src/share/vm/oops/instanceKlassKlass.cpp

Print this page




 399     ik->set_inner_classes(NULL);
 400     ik->set_static_oop_field_count(0);
 401     ik->set_nonstatic_field_size(0);
 402     ik->set_is_marked_dependent(false);
 403     ik->set_init_state(instanceKlass::allocated);
 404     ik->set_init_thread(NULL);
 405     ik->set_reference_type(rt);
 406     ik->set_oop_map_cache(NULL);
 407     ik->set_jni_ids(NULL);
 408     ik->set_osr_nmethods_head(NULL);
 409     ik->set_breakpoints(NULL);
 410     ik->init_previous_versions();
 411     ik->set_generic_signature(NULL);
 412     ik->release_set_methods_jmethod_ids(NULL);
 413     ik->release_set_methods_cached_itable_indices(NULL);
 414     ik->set_class_annotations(NULL);
 415     ik->set_fields_annotations(NULL);
 416     ik->set_methods_annotations(NULL);
 417     ik->set_methods_parameter_annotations(NULL);
 418     ik->set_methods_default_annotations(NULL);
 419     ik->set_enclosing_method_indices(0, 0);
 420     ik->set_jvmti_cached_class_field_map(NULL);
 421     ik->set_initial_method_idnum(0);
 422     assert(k()->is_parsable(), "should be parsable here.");
 423 
 424     // initialize the non-header words to zero
 425     intptr_t* p = (intptr_t*)k();
 426     for (int index = instanceKlass::header_size(); index < size; index++) {
 427       p[index] = NULL_WORD;
 428     }
 429 
 430     // To get verify to work - must be set to partial loaded before first GC point.
 431     k()->set_partially_loaded();
 432   }
 433   return k();
 434 }
 435 
 436 
 437 
 438 #ifndef PRODUCT
 439 




 399     ik->set_inner_classes(NULL);
 400     ik->set_static_oop_field_count(0);
 401     ik->set_nonstatic_field_size(0);
 402     ik->set_is_marked_dependent(false);
 403     ik->set_init_state(instanceKlass::allocated);
 404     ik->set_init_thread(NULL);
 405     ik->set_reference_type(rt);
 406     ik->set_oop_map_cache(NULL);
 407     ik->set_jni_ids(NULL);
 408     ik->set_osr_nmethods_head(NULL);
 409     ik->set_breakpoints(NULL);
 410     ik->init_previous_versions();
 411     ik->set_generic_signature(NULL);
 412     ik->release_set_methods_jmethod_ids(NULL);
 413     ik->release_set_methods_cached_itable_indices(NULL);
 414     ik->set_class_annotations(NULL);
 415     ik->set_fields_annotations(NULL);
 416     ik->set_methods_annotations(NULL);
 417     ik->set_methods_parameter_annotations(NULL);
 418     ik->set_methods_default_annotations(NULL);

 419     ik->set_jvmti_cached_class_field_map(NULL);
 420     ik->set_initial_method_idnum(0);
 421     assert(k()->is_parsable(), "should be parsable here.");
 422 
 423     // initialize the non-header words to zero
 424     intptr_t* p = (intptr_t*)k();
 425     for (int index = instanceKlass::header_size(); index < size; index++) {
 426       p[index] = NULL_WORD;
 427     }
 428 
 429     // To get verify to work - must be set to partial loaded before first GC point.
 430     k()->set_partially_loaded();
 431   }
 432   return k();
 433 }
 434 
 435 
 436 
 437 #ifndef PRODUCT
 438