mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8264166: OopStorage should support specifying MEMFLAGS for allocations
Reviewed-by: tschatzl, stefank
This commit is contained in:
parent
41657b15ac
commit
bb354b9d1c
16 changed files with 64 additions and 34 deletions
|
@ -210,7 +210,7 @@ void StringTable::create_table() {
|
|||
log_trace(stringtable)("Start size: " SIZE_FORMAT " (" SIZE_FORMAT ")",
|
||||
_current_size, start_size_log_2);
|
||||
_local_table = new StringTableHash(start_size_log_2, END_SIZE, REHASH_LEN);
|
||||
_oop_storage = OopStorageSet::create_weak("StringTable Weak");
|
||||
_oop_storage = OopStorageSet::create_weak("StringTable Weak", mtSymbol);
|
||||
_oop_storage->register_num_dead_callback(&gc_notification);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue