Mercurial > hg > graal-compiler
diff src/cpu/x86/vm/macroAssembler_x86.hpp @ 12056:740e263c80c6
8003424: Enable Class Data Sharing for CompressedOops
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server
Summary: Move klass metaspace above the heap and support CDS with compressed klass ptrs.
Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
author | hseigel |
---|---|
date | Thu, 15 Aug 2013 20:04:10 -0400 |
parents | b800986664f4 |
children | d13d7aba8c12 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/macroAssembler_x86.hpp Wed Aug 14 15:12:00 2013 -0700 +++ b/src/cpu/x86/vm/macroAssembler_x86.hpp Thu Aug 15 20:04:10 2013 -0400 @@ -371,6 +371,10 @@ void cmp_narrow_klass(Register dst, Klass* k); void cmp_narrow_klass(Address dst, Klass* k); + // Returns the byte size of the instructions generated by decode_klass_not_null() + // when compressed klass pointers are being used. + static int instr_size_for_decode_klass_not_null(); + // if heap base register is used - reinit it with the correct value void reinit_heapbase();