comparison src/share/vm/runtime/sharedRuntime.cpp @ 128:a76240c8b133

Merge
author rasbold
date Mon, 28 Apr 2008 08:08:12 -0700
parents 018d5b58dd4f b130b98db9cf
children d1605aabd0a1 37f87013dfd8
comparison
equal deleted inserted replaced
122:ec73d88d5b43 128:a76240c8b133
2227 JRT_END 2227 JRT_END
2228 2228
2229 #ifndef PRODUCT 2229 #ifndef PRODUCT
2230 bool AdapterHandlerLibrary::contains(CodeBlob* b) { 2230 bool AdapterHandlerLibrary::contains(CodeBlob* b) {
2231 2231
2232 if (_handlers == NULL) return false;
2233
2232 for (int i = 0 ; i < _handlers->length() ; i++) { 2234 for (int i = 0 ; i < _handlers->length() ; i++) {
2233 AdapterHandlerEntry* a = get_entry(i); 2235 AdapterHandlerEntry* a = get_entry(i);
2234 if ( a != NULL && b == CodeCache::find_blob(a->get_i2c_entry()) ) return true; 2236 if ( a != NULL && b == CodeCache::find_blob(a->get_i2c_entry()) ) return true;
2235 } 2237 }
2236 return false; 2238 return false;