8172169: Re-examine String field optionality

Reviewed-by: kvn, thartmann
This commit is contained in:
Claes Redestad 2017-01-03 21:36:05 +01:00
parent 2e0248d2fc
commit 450472a24a
4 changed files with 19 additions and 42 deletions

View file

@ -81,15 +81,6 @@ class java_lang_String : AllStatic {
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 bool has_hash_field() {
assert(initialized, "Must be initialized");
return (hash_offset > 0);
}
static bool has_coder_field() {
assert(initialized, "Must be initialized");
return (coder_offset > 0);
}
static void set_compact_strings(bool value);
static int value_offset_in_bytes() {