equal
deleted
inserted
replaced
47 object_type ClassifyObjectClosure::classify_object(oop obj, bool count) { |
47 object_type ClassifyObjectClosure::classify_object(oop obj, bool count) { |
48 object_type type = unknown_type; |
48 object_type type = unknown_type; |
49 |
49 |
50 Klass* k = obj->blueprint(); |
50 Klass* k = obj->blueprint(); |
51 |
51 |
52 if (k->as_klassOop() == SystemDictionary::object_klass()) { |
52 if (k->as_klassOop() == SystemDictionary::Object_klass()) { |
53 tty->print_cr("Found the class!"); |
53 tty->print_cr("Found the class!"); |
54 } |
54 } |
55 |
55 |
56 if (count) { |
56 if (count) { |
57 k->set_alloc_count(k->alloc_count() + 1); |
57 k->set_alloc_count(k->alloc_count() + 1); |