src/share/vm/oops/instanceRefKlass.cpp

changeset 1577
4ce7240d622c
parent 1383
89e0543e1737
child 1579
9b9c1ee9b3f6
equal deleted inserted replaced
1575:1f6d42899c3a 1577:4ce7240d622c
395 // and is also treated specially. 395 // and is also treated specially.
396 instanceKlass* ik = instanceKlass::cast(k); 396 instanceKlass* ik = instanceKlass::cast(k);
397 397
398 // Check that we have the right class 398 // Check that we have the right class
399 debug_only(static bool first_time = true); 399 debug_only(static bool first_time = true);
400 assert(k == SystemDictionary::reference_klass() && first_time, 400 assert(k == SystemDictionary::Reference_klass() && first_time,
401 "Invalid update of maps"); 401 "Invalid update of maps");
402 debug_only(first_time = false); 402 debug_only(first_time = false);
403 assert(ik->nonstatic_oop_map_count() == 1, "just checking"); 403 assert(ik->nonstatic_oop_map_count() == 1, "just checking");
404 404
405 OopMapBlock* map = ik->start_of_nonstatic_oop_maps(); 405 OopMapBlock* map = ik->start_of_nonstatic_oop_maps();

mercurial