mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8072061: Automatically determine optimal sizes for the CDS regions
See new C++ class MetaspaceClosure. Reviewed-by: coleenp, jiangli, mseledtsov
This commit is contained in:
parent
4b983a51fd
commit
f7f193ae71
82 changed files with 2010 additions and 1622 deletions
|
@ -148,8 +148,10 @@ public:
|
|||
HashtableBucket<F>* buckets, int number_of_entries);
|
||||
|
||||
// Sharing support.
|
||||
void copy_buckets(char** top, char* end);
|
||||
void copy_table(char** top, char* end);
|
||||
size_t count_bytes_for_buckets();
|
||||
size_t count_bytes_for_table();
|
||||
void copy_buckets(char* top, char* end);
|
||||
void copy_table(char* top, char* end);
|
||||
|
||||
// Bucket handling
|
||||
int hash_to_index(unsigned int full_hash) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue