Mercurial > hg > graal-compiler
diff src/share/vm/runtime/os.hpp @ 7433:730cc4ddd550
7173959: Jvm crashed during coherence exabus (tmb) testing
Summary: Mapping of aligned memory needs to be MT safe. Also reviewed by: vitalyd@gmail.com
Reviewed-by: dholmes, coleenp, zgu
author | brutisso |
---|---|
date | Mon, 17 Dec 2012 08:49:20 +0100 |
parents | 6cb0d32b828b |
children | 989155e2d07a 203f64878aab |
line wrap: on
line diff
--- a/src/share/vm/runtime/os.hpp Wed Dec 12 12:07:32 2012 -0800 +++ b/src/share/vm/runtime/os.hpp Mon Dec 17 08:49:20 2012 +0100 @@ -255,6 +255,7 @@ static int vm_allocation_granularity(); static char* reserve_memory(size_t bytes, char* addr = 0, size_t alignment_hint = 0); + static char* reserve_memory_aligned(size_t size, size_t alignment); static char* attempt_reserve_memory_at(size_t bytes, char* addr); static void split_reserved_memory(char *base, size_t size, size_t split, bool realloc);