mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
7081933: Use zeroing elimination optimization for large array
Don't zero new typeArray during runtime call if the allocation is followed by arraycopy into it. Reviewed-by: twisti
This commit is contained in:
parent
95c56a472b
commit
47e357e16f
13 changed files with 97 additions and 11 deletions
|
@ -63,6 +63,7 @@ class oopFactory: AllStatic {
|
|||
static typeArrayOop new_permanent_intArray (int length, TRAPS); // used for class file structures
|
||||
|
||||
static typeArrayOop new_typeArray(BasicType type, int length, TRAPS);
|
||||
static typeArrayOop new_typeArray_nozero(BasicType type, int length, TRAPS);
|
||||
|
||||
// Constant pools
|
||||
static constantPoolOop new_constantPool (int length,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue