comparison src/share/vm/runtime/os.hpp @ 142:8bd1e4487c18

Merge
author iveresov
date Sun, 04 May 2008 03:29:31 -0700
parents fcbfc50865ab
children d1605aabd0a1 37f87013dfd8
comparison
equal deleted inserted replaced
138:bcdc68eb7e1f 142:8bd1e4487c18
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();