Mercurial > hg > truffle
comparison src/share/vm/opto/type.cpp @ 6198:24b9c7f4cae6
Merge
author | coleenp |
---|---|
date | Mon, 02 Jul 2012 13:11:28 -0400 |
parents | 765ee2d1674b d2a62e0f25eb |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6195:bcffa4c5eef6 | 6198:24b9c7f4cae6 |
---|---|
210 // compilations (stub compilations) occur serially. If they are | 210 // compilations (stub compilations) occur serially. If they are |
211 // changed to proceed in parallel, then this section will need | 211 // changed to proceed in parallel, then this section will need |
212 // locking. | 212 // locking. |
213 | 213 |
214 Arena* save = current->type_arena(); | 214 Arena* save = current->type_arena(); |
215 Arena* shared_type_arena = new Arena(); | 215 Arena* shared_type_arena = new (mtCompiler)Arena(); |
216 | 216 |
217 current->set_type_arena(shared_type_arena); | 217 current->set_type_arena(shared_type_arena); |
218 _shared_type_dict = | 218 _shared_type_dict = |
219 new (shared_type_arena) Dict( (CmpKey)Type::cmp, (Hash)Type::uhash, | 219 new (shared_type_arena) Dict( (CmpKey)Type::cmp, (Hash)Type::uhash, |
220 shared_type_arena, 128 ); | 220 shared_type_arena, 128 ); |