mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8210875: Refactor CompactHashtable
Reviewed-by: ccheung, jiangli
This commit is contained in:
parent
a32f8e382d
commit
6c59cb232f
14 changed files with 200 additions and 326 deletions
|
@ -114,8 +114,8 @@ class java_lang_String : AllStatic {
|
|||
static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
|
||||
|
||||
// Instance creation
|
||||
static Handle create_from_unicode(jchar* unicode, int len, TRAPS);
|
||||
static oop create_oop_from_unicode(jchar* unicode, int len, TRAPS);
|
||||
static Handle create_from_unicode(const jchar* unicode, int len, TRAPS);
|
||||
static oop create_oop_from_unicode(const jchar* unicode, int len, TRAPS);
|
||||
static Handle create_from_str(const char* utf8_str, TRAPS);
|
||||
static oop create_oop_from_str(const char* utf8_str, TRAPS);
|
||||
static Handle create_from_symbol(Symbol* symbol, TRAPS);
|
||||
|
@ -189,7 +189,7 @@ class java_lang_String : AllStatic {
|
|||
|
||||
static unsigned int hash_code(oop java_string);
|
||||
|
||||
static bool equals(oop java_string, jchar* chars, int len);
|
||||
static bool equals(oop java_string, const jchar* chars, int len);
|
||||
static bool equals(oop str1, oop str2);
|
||||
|
||||
// Conversion between '.' and '/' formats
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue