mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8220496: Race in java_lang_String::length() when deduplicating
Reviewed-by: rkennke, pliden
This commit is contained in:
parent
1057f7e2a7
commit
1bfa5cee8c
5 changed files with 39 additions and 29 deletions
|
@ -194,6 +194,7 @@ class java_lang_String : AllStatic {
|
|||
|
||||
static bool equals(oop java_string, const jchar* chars, int len);
|
||||
static bool equals(oop str1, oop str2);
|
||||
static inline bool value_equals(typeArrayOop str_value1, typeArrayOop str_value2);
|
||||
|
||||
// Conversion between '.' and '/' formats
|
||||
static Handle externalize_classname(Handle java_string, TRAPS) { return char_converter(java_string, '/', '.', THREAD); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue