Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
DanHeidinga committed Apr 18, 2024
1 parent 0a34511 commit 741f125
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hotspot/share/oops/instanceKlass.cpp
Expand Up @@ -1509,7 +1509,6 @@ instanceOop InstanceKlass::register_finalizer(instanceOop i, TRAPS) {
}

instanceOop InstanceKlass::allocate_instance(TRAPS) {
bool has_finalizer_flag = has_finalizer(); // Query before possible GC
size_t size = size_helper(); // Query before forming handle.
return (instanceOop)Universe::heap()->obj_allocate(this, size, CHECK_NULL);
}
Expand Down

0 comments on commit 741f125

Please sign in to comment.