263 // compilations (stub compilations) occur serially. If they are |
263 // compilations (stub compilations) occur serially. If they are |
264 // changed to proceed in parallel, then this section will need |
264 // changed to proceed in parallel, then this section will need |
265 // locking. |
265 // locking. |
266 |
266 |
267 Arena* save = current->type_arena(); |
267 Arena* save = current->type_arena(); |
268 Arena* shared_type_arena = new (mtCompiler)Arena(); |
268 Arena* shared_type_arena = new (mtCompiler)Arena(mtCompiler); |
269 |
269 |
270 current->set_type_arena(shared_type_arena); |
270 current->set_type_arena(shared_type_arena); |
271 _shared_type_dict = |
271 _shared_type_dict = |
272 new (shared_type_arena) Dict( (CmpKey)Type::cmp, (Hash)Type::uhash, |
272 new (shared_type_arena) Dict( (CmpKey)Type::cmp, (Hash)Type::uhash, |
273 shared_type_arena, 128 ); |
273 shared_type_arena, 128 ); |