comparison src/share/vm/oops/instanceKlass.cpp @ 6950:41938af2b3d8

modifications to support non-perm-gen changes in HotSpot fixed issue when intrinsifying Class.getModifiers() for primitive classes
author Doug Simon <doug.simon@oracle.com>
date Wed, 14 Nov 2012 11:28:02 +0100
parents e522a00b91aa
children 2cb439954abf
comparison
equal deleted inserted replaced
6949:d09b0fed89db 6950:41938af2b3d8
2151 } 2151 }
2152 } 2152 }
2153 } 2153 }
2154 2154
2155 void InstanceKlass::clean_method_data(BoolObjectClosure* is_alive) { 2155 void InstanceKlass::clean_method_data(BoolObjectClosure* is_alive) {
2156 #ifdef COMPILER2 2156 #if defined(COMPILER2) || defined(GRAAL)
2157 // Currently only used by C2. 2157 // Currently only used by C2.
2158 for (int m = 0; m < methods()->length(); m++) { 2158 for (int m = 0; m < methods()->length(); m++) {
2159 MethodData* mdo = methods()->at(m)->method_data(); 2159 MethodData* mdo = methods()->at(m)->method_data();
2160 if (mdo != NULL) { 2160 if (mdo != NULL) {
2161 for (ProfileData* data = mdo->first_data(); 2161 for (ProfileData* data = mdo->first_data();
2162 mdo->is_valid(data); 2162 mdo->is_valid(data);