237 {
238 if (FLAG_trace_class_finalization) {
240 }
242
244#if defined(DEBUG)
245
246 cls = object_store->object_class();
248 cls = object_store->integer_implementation_class();
250 cls = object_store->smi_class();
252 cls = object_store->mint_class();
254 cls = object_store->one_byte_string_class();
256 cls = object_store->two_byte_string_class();
258 cls = object_store->double_class();
260 cls = object_store->bool_class();
262 cls = object_store->array_class();
264 cls = object_store->immutable_array_class();
266 cls = object_store->weak_property_class();
268 cls = object_store->weak_reference_class();
270 cls = object_store->finalizer_class();
272 cls = object_store->finalizer_entry_class();
274 cls = object_store->map_impl_class();
276 cls = object_store->const_map_impl_class();
278 cls = object_store->set_impl_class();
280 cls = object_store->const_set_impl_class();
282#endif
283
284
285 const GrowableObjectArray& class_array =
287 for (intptr_t
i = 0;
i < class_array.Length();
i++) {
288
289 cls ^= class_array.At(
i);
290 if (cls.is_finalized() || cls.is_prefinalized()) {
291
292 ASSERT(!cls.HasInstanceFields());
293 }
294 }
295
296
297
299
301 OS::PrintErr(
"Could not verify bootstrap classes : %s\n",
302 err.ToErrorCString());
304 }
305
306 if (FLAG_trace_class_finalization) {
308 }
310}
#define ASSERT_EQUAL(expected, actual)
static intptr_t InstanceSize()
static intptr_t InstanceSize()
static bool ProcessPendingClasses()
static intptr_t InstanceSize()
static intptr_t InstanceSize()
static intptr_t InstanceSize()
bool Verify(const char *msg, MarkExpectation mark_expectation=kForbidMarked)
static intptr_t InstanceSize()
static intptr_t InstanceSize()
static intptr_t InstanceSize()
static intptr_t InstanceSize()
static DART_NORETURN void Exit(int code)
static void static void PrintErr(const char *format,...) PRINTF_ATTRIBUTE(1
static intptr_t InstanceSize()
static intptr_t InstanceSize()
static intptr_t InstanceSize()
static intptr_t InstanceSize()
static intptr_t InstanceSize()
static intptr_t InstanceSize()