mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8138983
: Runtime: implement ranges for Shared*** flags
Implement ranges. Reviewed-by: ddmitriev, dholmes, jiangli
This commit is contained in:
parent
dcd4a03963
commit
97470c5146
11 changed files with 274 additions and 146 deletions
|
@ -137,7 +137,7 @@ juint* CompactHashtableWriter::dump_buckets(juint* compact_table, juint* p,
|
|||
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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue