comparison src/share/vm/oops/instanceRefKlass.cpp @ 1142:4ce7240d622c

6914300: ciEnv should export all well known classes Reviewed-by: kvn, twisti
author never
date Wed, 06 Jan 2010 14:22:39 -0800
parents 89e0543e1737
children 9b9c1ee9b3f6
comparison
equal deleted inserted replaced
1140:1f6d42899c3a 1142: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();