5#ifndef V8_OBJECTS_STRING_TABLE_H_
6#define V8_OBJECTS_STRING_TABLE_H_
30 inline uint32_t
hash()
const;
57 int NumberOfElements()
const;
66 template <
typename StringTableKey,
typename IsolateT>
72 static Address TryStringToIndexOrLookupExisting(
Isolate* isolate,
76 void InsertForIsolateDeserialization(
80 void InsertEmptyStringForBootstrapping(
Isolate* isolate);
83 size_t GetCurrentMemoryUsage()
const;
89 void NotifyElementsRemoved(
int count);
virtual ~StringTableKey()=default
uint32_t raw_hash_field() const
void set_raw_hash_field(uint32_t raw_hash_field)
StringTableKey(uint32_t raw_hash_field, uint32_t length)
static constexpr Tagged< Smi > empty_element()
void VerifyIfOwnedBy(Isolate *isolate)
static constexpr Tagged< Smi > deleted_element()
std::atomic< Data * > data_
#define DCHECK_NE(v1, v2)
#define V8_EXPORT_PRIVATE
std::unique_ptr< ValueMirror > key