Skip to content

Commit

Permalink
8290704: x86: TemplateTable::_new should not call eden_allocate() wit…
Browse files Browse the repository at this point in the history
…hout contiguous allocs enabled

Reviewed-by: kvn, thartmann, coleenp
  • Loading branch information
shipilev committed Jul 21, 2022
1 parent 799a2c8 commit 59e495e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/x86/templateTable_x86.cpp
Expand Up @@ -3981,7 +3981,7 @@ void TemplateTable::_new() {
// initialize both the header and fields
__ jmp(initialize_object);
}
} else {
} else if (allow_shared_alloc) {
// Allocation in the shared Eden, if allowed.
//
// rdx: instance size in bytes
Expand Down

1 comment on commit 59e495e

@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.