8315580: Remove unused java_lang_String::set_value_raw()

Reviewed-by: shade, ayang
This commit is contained in:
Kim Barrett 2023-09-09 01:28:20 +00:00
parent 9b0da48915
commit b482e6d902
2 changed files with 0 additions and 5 deletions
src/hotspot/share/classfile

@ -107,7 +107,6 @@ class java_lang_String : AllStatic {
static int value_offset() { CHECK_INIT(_value_offset); }
static int coder_offset() { CHECK_INIT(_coder_offset); }
static inline void set_value_raw(oop string, typeArrayOop buffer);
static inline void set_value(oop string, typeArrayOop buffer);
// Set the deduplication_forbidden flag true. This flag is sticky; once

@ -39,10 +39,6 @@ void java_lang_String::set_coder(oop string, jbyte coder) {
string->byte_field_put(_coder_offset, coder);
}
void java_lang_String::set_value_raw(oop string, typeArrayOop buffer) {
string->obj_field_put_raw(_value_offset, buffer);
}
void java_lang_String::set_value(oop string, typeArrayOop buffer) {
string->obj_field_put(_value_offset, buffer);
}