comparison src/share/vm/memory/oopFactory.hpp @ 3961:a92cdbac8b9e

7081933: Use zeroing elimination optimization for large array Summary: Don't zero new typeArray during runtime call if the allocation is followed by arraycopy into it. Reviewed-by: twisti
author kvn
date Mon, 26 Sep 2011 10:24:05 -0700
parents c7f3d0b4570f
children 49036505ab5f
comparison
equal deleted inserted replaced
3960:f08d439fab8c 3961:a92cdbac8b9e
61 static typeArrayOop new_permanent_byteArray (int length, TRAPS); // used for class file structures 61 static typeArrayOop new_permanent_byteArray (int length, TRAPS); // used for class file structures
62 static typeArrayOop new_permanent_shortArray(int length, TRAPS); // used for class file structures 62 static typeArrayOop new_permanent_shortArray(int length, TRAPS); // used for class file structures
63 static typeArrayOop new_permanent_intArray (int length, TRAPS); // used for class file structures 63 static typeArrayOop new_permanent_intArray (int length, TRAPS); // used for class file structures
64 64
65 static typeArrayOop new_typeArray(BasicType type, int length, TRAPS); 65 static typeArrayOop new_typeArray(BasicType type, int length, TRAPS);
66 static typeArrayOop new_typeArray_nozero(BasicType type, int length, TRAPS);
66 67
67 // Constant pools 68 // Constant pools
68 static constantPoolOop new_constantPool (int length, 69 static constantPoolOop new_constantPool (int length,
69 bool is_conc_safe, 70 bool is_conc_safe,
70 TRAPS); 71 TRAPS);