comparison src/share/vm/runtime/sharedRuntime.cpp @ 124:b130b98db9cf

6689060: Escape Analysis does not work with Compressed Oops Summary: 64-bits VM crashes with -XX:+AggresiveOpts (Escape Analysis + Compressed Oops) Reviewed-by: never, sgoldman
author kvn
date Wed, 23 Apr 2008 11:20:36 -0700
parents cd0742ba123c
children a76240c8b133
comparison
equal deleted inserted replaced
123:9e5a7340635e 124: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;