Mercurial > hg > graal-compiler
comparison src/share/vm/memory/allocation.hpp @ 11095:cf9d71d3e474
8016903: Thread::_handle_area initial size too big
Summary: Changed initial size to Chunk::tiny_size (216 bytes)
Reviewed-by: coleenp, dholmes, sspitsyn
author | iklam |
---|---|
date | Mon, 08 Jul 2013 10:58:48 -0700 |
parents | 2b9380b0bf0b |
children | 6b0fd0964b87 faf2631b9334 bdd155477289 |
comparison
equal
deleted
inserted
replaced
11094:cc5b7915104e | 11095:cf9d71d3e474 |
---|---|
351 // a multiple of 8. | 351 // a multiple of 8. |
352 #else | 352 #else |
353 slack = 20, // suspected sizeof(Chunk) + internal malloc headers | 353 slack = 20, // suspected sizeof(Chunk) + internal malloc headers |
354 #endif | 354 #endif |
355 | 355 |
356 init_size = 1*K - slack, // Size of first chunk | 356 tiny_size = 256 - slack, // Size of first chunk (tiny) |
357 init_size = 1*K - slack, // Size of first chunk (normal aka small) | |
357 medium_size= 10*K - slack, // Size of medium-sized chunk | 358 medium_size= 10*K - slack, // Size of medium-sized chunk |
358 size = 32*K - slack, // Default size of an Arena chunk (following the first) | 359 size = 32*K - slack, // Default size of an Arena chunk (following the first) |
359 non_pool_size = init_size + 32 // An initial size which is not one of above | 360 non_pool_size = init_size + 32 // An initial size which is not one of above |
360 }; | 361 }; |
361 | 362 |