Mercurial > hg > truffle
comparison src/share/vm/opto/type.cpp @ 20804:7848fc12602b
Merge with jdk8u40-b25
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Tue, 07 Apr 2015 14:58:49 +0200 |
parents | 52b4284cb496 833b0f92429a |
children |
comparison
equal
deleted
inserted
replaced
20184:84105dcdb05b | 20804:7848fc12602b |
---|---|
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 ); |