mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8254125: Assertion in cppVtables.cpp during builds on 32bit Windows
Reviewed-by: shade, ccheung
This commit is contained in:
parent
bdda2058c2
commit
5145bed028
11 changed files with 109 additions and 139 deletions
|
@ -113,9 +113,11 @@ void CompactHashtableWriter::allocate_table() {
|
|||
_compact_entries = MetaspaceShared::new_ro_array<u4>(entries_space);
|
||||
|
||||
_stats->bucket_count = _num_buckets;
|
||||
_stats->bucket_bytes = _compact_buckets->size() * BytesPerWord;
|
||||
_stats->bucket_bytes = align_up(_compact_buckets->size() * BytesPerWord,
|
||||
SharedSpaceObjectAlignment);
|
||||
_stats->hashentry_count = _num_entries_written;
|
||||
_stats->hashentry_bytes = _compact_entries->size() * BytesPerWord;
|
||||
_stats->hashentry_bytes = align_up(_compact_entries->size() * BytesPerWord,
|
||||
SharedSpaceObjectAlignment);
|
||||
}
|
||||
|
||||
// Write the compact table's buckets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue