*** old/src/share/vm/runtime/sharedRuntime.cpp Tue Apr 22 13:56:33 2008 --- new/src/share/vm/runtime/sharedRuntime.cpp Tue Apr 22 13:56:33 2008
*** 2174,2183 **** --- 2174,2185 ---- JRT_END #ifndef PRODUCT bool AdapterHandlerLibrary::contains(CodeBlob* b) { + if (_handlers == NULL) return false; + for (int i = 0 ; i < _handlers->length() ; i++) { AdapterHandlerEntry* a = get_entry(i); if ( a != NULL && b == CodeCache::find_blob(a->get_i2c_entry()) ) return true; } return false;