Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/classify.cpp @ 1144:9b9c1ee9b3f6
Merge
author | iveresov |
---|---|
date | Wed, 06 Jan 2010 22:21:39 -0800 |
parents | 4ce7240d622c |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1129:a5a6adfca6ec | 1144:9b9c1ee9b3f6 |
---|---|
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); |