src/os/windows/vm/os_windows.hpp

changeset 824
ee21eaa8ffe1
parent 435
a61af66fc99e
child 905
ad8c8ca4ab0f
equal deleted inserted replaced
812:ddfad9496151 824:ee21eaa8ffe1
32 static int _processor_type; 32 static int _processor_type;
33 static int _processor_level; 33 static int _processor_level;
34 static julong _physical_memory; 34 static julong _physical_memory;
35 static size_t _default_stack_size; 35 static size_t _default_stack_size;
36 static bool _is_nt; 36 static bool _is_nt;
37 static bool _is_windows_2003;
37 38
38 public: 39 public:
39 // Windows-specific interface: 40 // Windows-specific interface:
40 static void initialize_system_info(); 41 static void initialize_system_info();
41 static void setmode_streams(); 42 static void setmode_streams();
57 static intx _os_thread_limit; 58 static intx _os_thread_limit;
58 static volatile intx _os_thread_count; 59 static volatile intx _os_thread_count;
59 60
60 // Tells whether the platform is NT or Windown95 61 // Tells whether the platform is NT or Windown95
61 static bool is_nt() { return _is_nt; } 62 static bool is_nt() { return _is_nt; }
63
64 // Tells whether the platform is Windows 2003
65 static bool is_windows_2003() { return _is_windows_2003; }
62 66
63 // Returns the byte size of a virtual memory page 67 // Returns the byte size of a virtual memory page
64 static int vm_page_size() { return _vm_page_size; } 68 static int vm_page_size() { return _vm_page_size; }
65 69
66 // Returns the size in bytes of memory blocks which can be allocated. 70 // Returns the size in bytes of memory blocks which can be allocated.

mercurial