comparison src/share/vm/opto/type.cpp @ 20360:833b0f92429a

8046598: Scalable Native memory tracking development Summary: Enhance scalability of native memory tracking Reviewed-by: coleenp, ctornqvi, gtriantafill
author zgu
date Wed, 27 Aug 2014 08:19:12 -0400
parents 78bbf4d43a14
children 7848fc12602b 2163da41681e
comparison
equal deleted inserted replaced
20359:4d3a43351904 20360:833b0f92429a
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 );