Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/metaspaceShared.cpp @ 14422:2b8e28fdf503
Merge
author | kvn |
---|---|
date | Tue, 05 Nov 2013 17:38:04 -0800 |
parents | 4f9a42c33738 |
children | 63a4eb8bcd23 9c3dc501b5eb |
comparison
equal
deleted
inserted
replaced
14421:3068270ba476 | 14422:2b8e28fdf503 |
---|---|
101 for (int i = 0; i < _global_klass_objects->length(); i++) { | 101 for (int i = 0; i < _global_klass_objects->length(); i++) { |
102 Klass* k = _global_klass_objects->at(i); | 102 Klass* k = _global_klass_objects->at(i); |
103 if (k->oop_is_instance()) { | 103 if (k->oop_is_instance()) { |
104 InstanceKlass* ik = InstanceKlass::cast(k); | 104 InstanceKlass* ik = InstanceKlass::cast(k); |
105 for (int i = 0; i < ik->methods()->length(); i++) { | 105 for (int i = 0; i < ik->methods()->length(); i++) { |
106 ResourceMark rm; | |
107 Method* m = ik->methods()->at(i); | 106 Method* m = ik->methods()->at(i); |
108 (new Fingerprinter(m))->fingerprint(); | 107 Fingerprinter fp(m); |
108 // The side effect of this call sets method's fingerprint field. | |
109 fp.fingerprint(); | |
109 } | 110 } |
110 } | 111 } |
111 } | 112 } |
112 } | 113 } |
113 | 114 |