src/share/vm/runtime/sharedRuntime.cpp

changeset 559
b130b98db9cf
parent 497
cd0742ba123c
child 563
a76240c8b133
equal deleted inserted replaced
558:9e5a7340635e 559:b130b98db9cf
2174 JRT_END 2174 JRT_END
2175 2175
2176 #ifndef PRODUCT 2176 #ifndef PRODUCT
2177 bool AdapterHandlerLibrary::contains(CodeBlob* b) { 2177 bool AdapterHandlerLibrary::contains(CodeBlob* b) {
2178 2178
2179 if (_handlers == NULL) return false;
2180
2179 for (int i = 0 ; i < _handlers->length() ; i++) { 2181 for (int i = 0 ; i < _handlers->length() ; i++) {
2180 AdapterHandlerEntry* a = get_entry(i); 2182 AdapterHandlerEntry* a = get_entry(i);
2181 if ( a != NULL && b == CodeCache::find_blob(a->get_i2c_entry()) ) return true; 2183 if ( a != NULL && b == CodeCache::find_blob(a->get_i2c_entry()) ) return true;
2182 } 2184 }
2183 return false; 2185 return false;

mercurial