78 static Handle create_from_str(const char* utf8_str, TRAPS); |
78 static Handle create_from_str(const char* utf8_str, TRAPS); |
79 static oop create_oop_from_str(const char* utf8_str, TRAPS); |
79 static oop create_oop_from_str(const char* utf8_str, TRAPS); |
80 static Handle create_from_symbol(Symbol* symbol, TRAPS); |
80 static Handle create_from_symbol(Symbol* symbol, TRAPS); |
81 static Handle create_from_platform_dependent_str(const char* str, TRAPS); |
81 static Handle create_from_platform_dependent_str(const char* str, TRAPS); |
82 static Handle char_converter(Handle java_string, jchar from_char, jchar to_char, TRAPS); |
82 static Handle char_converter(Handle java_string, jchar from_char, jchar to_char, TRAPS); |
83 |
|
84 static bool has_hash_field() { |
|
85 assert(initialized, "Must be initialized"); |
|
86 return (hash_offset > 0); |
|
87 } |
|
88 static bool has_coder_field() { |
|
89 assert(initialized, "Must be initialized"); |
|
90 return (coder_offset > 0); |
|
91 } |
|
92 |
83 |
93 static void set_compact_strings(bool value); |
84 static void set_compact_strings(bool value); |
94 |
85 |
95 static int value_offset_in_bytes() { |
86 static int value_offset_in_bytes() { |
96 assert(initialized && (value_offset > 0), "Must be initialized"); |
87 assert(initialized && (value_offset > 0), "Must be initialized"); |