Mercurial > hg > truffle
comparison src/share/vm/oops/typeArrayKlass.hpp @ 4137:04b9a2566eec
Merge with hsx23/hotspot.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sat, 17 Dec 2011 21:40:27 +0100 |
parents | a92cdbac8b9e |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
3737:9dc19b7d89a3 | 4137:04b9a2566eec |
---|---|
54 int klass_oop_size() const { return object_size(); } | 54 int klass_oop_size() const { return object_size(); } |
55 | 55 |
56 bool compute_is_subtype_of(klassOop k); | 56 bool compute_is_subtype_of(klassOop k); |
57 | 57 |
58 // Allocation | 58 // Allocation |
59 typeArrayOop allocate(int length, TRAPS); | 59 typeArrayOop allocate_common(int length, bool do_zero, TRAPS); |
60 typeArrayOop allocate(int length, TRAPS) { return allocate_common(length, true, THREAD); } | |
60 typeArrayOop allocate_permanent(int length, TRAPS); // used for class file structures | 61 typeArrayOop allocate_permanent(int length, TRAPS); // used for class file structures |
61 oop multi_allocate(int rank, jint* sizes, TRAPS); | 62 oop multi_allocate(int rank, jint* sizes, TRAPS); |
62 | 63 |
63 // Copying | 64 // Copying |
64 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS); | 65 void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS); |