hotspot/src/share/vm/runtime/os.hpp
changeset 388 bcc631c5bbec
parent 252 050143a0dbfb
child 670 ddf3e9583f2f
child 1374 4c24294029a9
equal deleted inserted replaced
387:6b17ecb32336 388:bcc631c5bbec
    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();