mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8086053: Address inconsistencies regarding ZeroTLAB
Add zero-initialization to C1 for fast TLAB refills; strenghten C2 conditions for skipping zero-initialization. Reviewed-by: kvn, thartmann
This commit is contained in:
parent
5be1924e89
commit
dfa6539a6a
18 changed files with 215 additions and 128 deletions
|
@ -295,7 +295,7 @@ Node* PhaseMacroExpand::generate_arraycopy(ArrayCopyNode *ac, AllocateArrayNode*
|
|||
// out-edges of the dest, we need to avoid making derived pointers
|
||||
// from it until we have checked its uses.)
|
||||
if (ReduceBulkZeroing
|
||||
&& !ZeroTLAB // pointless if already zeroed
|
||||
&& !(UseTLAB && ZeroTLAB) // pointless if already zeroed
|
||||
&& basic_elem_type != T_CONFLICT // avoid corner case
|
||||
&& !src->eqv_uncast(dest)
|
||||
&& alloc != NULL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue