Skip to content

Commit

Permalink
8315580: Remove unused java_lang_String::set_value_raw()
Browse files Browse the repository at this point in the history
Reviewed-by: shade, ayang
  • Loading branch information
Kim Barrett committed Sep 9, 2023
1 parent 9b0da48 commit b482e6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/hotspot/share/classfile/javaClasses.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions src/hotspot/share/classfile/javaClasses.inline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

1 comment on commit b482e6d

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.