mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8267870: Remove unnecessary char_converter during class loading
Reviewed-by: dholmes, iklam
This commit is contained in:
parent
3ad658677b
commit
af13fe1107
5 changed files with 12 additions and 76 deletions
|
@ -145,7 +145,6 @@ class java_lang_String : AllStatic {
|
|||
static oop create_oop_from_str(const char* utf8_str, TRAPS);
|
||||
static Handle create_from_symbol(Symbol* symbol, TRAPS);
|
||||
static Handle create_from_platform_dependent_str(const char* str, TRAPS);
|
||||
static Handle char_converter(Handle java_string, jchar from_char, jchar to_char, TRAPS);
|
||||
|
||||
static void set_compact_strings(bool value);
|
||||
|
||||
|
@ -228,10 +227,8 @@ class java_lang_String : AllStatic {
|
|||
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, JVM_SIGNATURE_SLASH, JVM_SIGNATURE_DOT, THREAD);
|
||||
}
|
||||
// Conversion between '.' and '/' formats, and allocate a String from the result.
|
||||
static Handle externalize_classname(Symbol* java_name, TRAPS);
|
||||
|
||||
// Conversion
|
||||
static Symbol* as_symbol(oop java_string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue