mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8290704: x86: TemplateTable::_new should not call eden_allocate() without contiguous allocs enabled
Reviewed-by: kvn, thartmann, coleenp
This commit is contained in:
parent
799a2c844d
commit
59e495e4d3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user