Mercurial > hg > graal-jvmci-8
diff src/cpu/sparc/vm/methodHandles_sparc.hpp @ 6725:da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author | coleenp |
---|---|
date | Sat, 01 Sep 2012 13:25:18 -0400 |
parents | 1d7922586cf6 |
children | 65d07d9ee446 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/methodHandles_sparc.hpp Fri Aug 31 16:39:35 2012 -0700 +++ b/src/cpu/sparc/vm/methodHandles_sparc.hpp Sat Sep 01 13:25:18 2012 -0400 @@ -35,13 +35,13 @@ static void load_klass_from_Class(MacroAssembler* _masm, Register klass_reg, Register temp_reg, Register temp2_reg); static void verify_klass(MacroAssembler* _masm, - Register obj_reg, KlassHandle klass, + Register obj_reg, SystemDictionary::WKID klass_id, Register temp_reg, Register temp2_reg, const char* error_message = "wrong klass") NOT_DEBUG_RETURN; static void verify_method_handle(MacroAssembler* _masm, Register mh_reg, Register temp_reg, Register temp2_reg) { - verify_klass(_masm, mh_reg, SystemDictionaryHandles::MethodHandle_klass(), + verify_klass(_masm, mh_reg, SystemDictionary::WK_KLASS_ENUM_NAME(java_lang_invoke_MethodHandle), temp_reg, temp2_reg, "reference is a MH"); }