src/share/vm/classfile/compactHashtable.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/classfile/compactHashtable.cpp	Fri Nov  6 15:25:54 2015
--- new/src/share/vm/classfile/compactHashtable.cpp	Fri Nov  6 15:25:54 2015

*** 135,145 **** --- 135,145 ---- uintx max_delta = 0; int num_compact_buckets = 0; if (_type == CompactHashtable<Symbol*, char>::_symbol_table) { base_address = uintx(MetaspaceShared::shared_rs()->base()); max_delta = uintx(MetaspaceShared::shared_rs()->size()); ! assert(max_delta <= 0x7fffffff, "range check"); ! assert(max_delta <= MAX_SHARED_DELTA, "range check"); } else { assert((_type == CompactHashtable<oop, char>::_string_table), "unknown table"); assert(UseCompressedOops, "UseCompressedOops is required"); }

src/share/vm/classfile/compactHashtable.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File