comparison src/share/vm/memory/metaspaceShared.cpp @ 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 221df7e37535
children 4f9a42c33738
comparison
equal deleted inserted replaced
12055:d96f52012aaa 12056:740e263c80c6
50 50
51 void MetaspaceShared::serialize(SerializeClosure* soc) { 51 void MetaspaceShared::serialize(SerializeClosure* soc) {
52 int tag = 0; 52 int tag = 0;
53 soc->do_tag(--tag); 53 soc->do_tag(--tag);
54 54
55 assert(!UseCompressedOops, "UseCompressedOops doesn't work with shared archive");
56 // Verify the sizes of various metadata in the system. 55 // Verify the sizes of various metadata in the system.
57 soc->do_tag(sizeof(Method)); 56 soc->do_tag(sizeof(Method));
58 soc->do_tag(sizeof(ConstMethod)); 57 soc->do_tag(sizeof(ConstMethod));
59 soc->do_tag(arrayOopDesc::base_offset_in_bytes(T_BYTE)); 58 soc->do_tag(arrayOopDesc::base_offset_in_bytes(T_BYTE));
60 soc->do_tag(sizeof(ConstantPool)); 59 soc->do_tag(sizeof(ConstantPool));