27 Zone* zone = thread->zone();
28 auto isolate_group = thread->isolate_group();
29 ObjectStore* object_store = isolate_group->object_store();
30 const auto& pending_classes =
34 pending_classes.Add(*classes_1[0]);
36 pending_classes.Add(*classes_1[1]);
40 pending_classes.Add(*classes_2[0]);
42 pending_classes.Add(*classes_2[1]);
44 pending_classes.Add(*classes_2[2]);
46 for (
int i = 0;
i < classes_1.
length();
i++) {
47 EXPECT(classes_1[
i]->is_type_finalized());
49 for (
int i = 0;
i < classes_2.
length();
i++) {
50 EXPECT(classes_2[
i]->is_type_finalized());
static bool ProcessPendingClasses()
static bool AllClassesFinalized()
void SetFields(const Array &value) const
void set_is_declaration_loaded() const
void set_interfaces(const Array &value) const
static ClassPtr New(IsolateGroup *isolate_group, bool register_class=true)
void SetFunctions(const Array &value) const
SafepointRwLock * program_lock()
static Object & ZoneHandle()
static StringPtr New(Thread *thread, const char *cstr)
static Thread * Current()
IsolateGroup * isolate_group() const
const char *const class_name
ISOLATE_UNIT_TEST_CASE(StackAllocatedDestruction)
static ClassPtr CreateTestClass(const char *name)