Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
7432:0b3d19153cc6 | 7433:730cc4ddd550 |
---|---|
253 const size_t size = 0) PRODUCT_RETURN; | 253 const size_t size = 0) PRODUCT_RETURN; |
254 | 254 |
255 static int vm_allocation_granularity(); | 255 static int vm_allocation_granularity(); |
256 static char* reserve_memory(size_t bytes, char* addr = 0, | 256 static char* reserve_memory(size_t bytes, char* addr = 0, |
257 size_t alignment_hint = 0); | 257 size_t alignment_hint = 0); |
258 static char* reserve_memory_aligned(size_t size, size_t alignment); | |
258 static char* attempt_reserve_memory_at(size_t bytes, char* addr); | 259 static char* attempt_reserve_memory_at(size_t bytes, char* addr); |
259 static void split_reserved_memory(char *base, size_t size, | 260 static void split_reserved_memory(char *base, size_t size, |
260 size_t split, bool realloc); | 261 size_t split, bool realloc); |
261 static bool commit_memory(char* addr, size_t bytes, bool executable = false); | 262 static bool commit_memory(char* addr, size_t bytes, bool executable = false); |
262 static bool commit_memory(char* addr, size_t size, size_t alignment_hint, | 263 static bool commit_memory(char* addr, size_t size, size_t alignment_hint, |