Mercurial > hg > graal-jvmci-8
diff src/share/vm/jvmci/jvmciCodeInstaller.cpp @ 23390:19855d029fc0
Remove support for patching Symbol pointers (JDK-8156768).
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Wed, 11 May 2016 16:41:28 +0200 |
parents | 83b296a07c33 |
children | 9ed5b586018b |
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCodeInstaller.cpp Wed May 11 21:20:50 2016 +0200 +++ b/src/share/vm/jvmci/jvmciCodeInstaller.cpp Wed May 11 16:41:28 2016 +0200 @@ -179,11 +179,6 @@ int index = _oop_recorder->find_index(method); TRACE_jvmci_3("metadata[%d of %d] = %s", index, _oop_recorder->metadata_count(), method->name()->as_C_string()); return method; - } else if (obj->is_a(HotSpotSymbol::klass())) { - Symbol* symbol = (Symbol*) (address) HotSpotSymbol::pointer(obj); - assert(!HotSpotMetaspaceConstantImpl::compressed(constant), err_msg("unexpected compressed symbol pointer %s @ " INTPTR_FORMAT, symbol->as_C_string(), p2i(symbol))); - TRACE_jvmci_3("symbol = %s", symbol->as_C_string()); - return symbol; } else { JVMCI_ERROR_NULL("unexpected metadata reference for constant of type %s", obj->klass()->signature_name()); }