Skip to content
Permalink
Browse files
8263544: Unused argument in ConstantPoolCacheEntry::set_field()
Reviewed-by: coleenp, dholmes
  • Loading branch information
fparain committed Mar 15, 2021
1 parent c0176c4 commit 80cdf7882db6230757f07e8aa4f0e0fd75344698
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
@@ -708,8 +708,7 @@ void InterpreterRuntime::resolve_get_put(JavaThread* thread, Bytecodes::Code byt
info.offset(),
state,
info.access_flags().is_final(),
info.access_flags().is_volatile(),
pool->pool_holder()
info.access_flags().is_volatile()
);
}

@@ -135,8 +135,7 @@ void ConstantPoolCacheEntry::set_field(Bytecodes::Code get_code,
int field_offset,
TosState field_type,
bool is_final,
bool is_volatile,
Klass* root_klass) {
bool is_volatile) {
set_f1(field_holder);
set_f2(field_offset);
assert((field_index & field_index_mask) == field_index,
@@ -223,8 +223,7 @@ class ConstantPoolCacheEntry {
int field_offset, // the field offset in words in the field holder
TosState field_type, // the (machine) field type
bool is_final, // the field is final
bool is_volatile, // the field is volatile
Klass* root_klass // needed by the GC to dirty the klass
bool is_volatile // the field is volatile
);

private:

0 comments on commit 80cdf78

Please sign in to comment.