Mercurial > hg > truffle
comparison src/share/vm/runtime/os.hpp @ 141:fcbfc50865ab
6684395: Port NUMA-aware allocator to linux
Summary: NUMA-aware allocator port to Linux
Reviewed-by: jmasa, apetrusenko
author | iveresov |
---|---|
date | Tue, 29 Apr 2008 13:51:26 +0400 |
parents | 82db0859acbe |
children | d1605aabd0a1 37f87013dfd8 |
comparison
equal
deleted
inserted
replaced
140:3febac328d82 | 141:fcbfc50865ab |
---|---|
31 class Thread; | 31 class Thread; |
32 class JavaThread; | 32 class JavaThread; |
33 class Event; | 33 class Event; |
34 class DLL; | 34 class DLL; |
35 class FileHandle; | 35 class FileHandle; |
36 template<class E> class GrowableArray; | |
36 | 37 |
37 // %%%%% Moved ThreadState, START_FN, OSThread to new osThread.hpp. -- Rose | 38 // %%%%% Moved ThreadState, START_FN, OSThread to new osThread.hpp. -- Rose |
38 | 39 |
39 // Platform-independent error return values from OS functions | 40 // Platform-independent error return values from OS functions |
40 enum OSReturn { | 41 enum OSReturn { |
204 static bool unmap_memory(char *addr, size_t bytes); | 205 static bool unmap_memory(char *addr, size_t bytes); |
205 static void free_memory(char *addr, size_t bytes); | 206 static void free_memory(char *addr, size_t bytes); |
206 static void realign_memory(char *addr, size_t bytes, size_t alignment_hint); | 207 static void realign_memory(char *addr, size_t bytes, size_t alignment_hint); |
207 | 208 |
208 // NUMA-specific interface | 209 // NUMA-specific interface |
209 static void numa_make_local(char *addr, size_t bytes); | 210 static bool numa_has_static_binding(); |
211 static bool numa_has_group_homing(); | |
212 static void numa_make_local(char *addr, size_t bytes, int lgrp_hint); | |
210 static void numa_make_global(char *addr, size_t bytes); | 213 static void numa_make_global(char *addr, size_t bytes); |
211 static size_t numa_get_groups_num(); | 214 static size_t numa_get_groups_num(); |
212 static size_t numa_get_leaf_groups(int *ids, size_t size); | 215 static size_t numa_get_leaf_groups(int *ids, size_t size); |
213 static bool numa_topology_changed(); | 216 static bool numa_topology_changed(); |
214 static int numa_get_group_id(); | 217 static int numa_get_group_id(); |