Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Thu Apr 17 07:16:03 2008 -0700 +++ b/src/share/vm/runtime/sharedRuntime.cpp Wed Apr 23 11:20:36 2008 -0700 @@ -2176,6 +2176,8 @@ #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;