comparison src/share/vm/runtime/os.hpp @ 8859:0c039865ef2b

Merge
author mgerdin
date Thu, 04 Apr 2013 19:07:32 +0200
parents 754c24457b20 1b90c7607451
children b9a918201d47 e12c9b3740db
comparison
equal deleted inserted replaced
8858:15c04fe93c18 8859:0c039865ef2b
178 static char* iso8601_time(char* buffer, size_t buffer_length); 178 static char* iso8601_time(char* buffer, size_t buffer_length);
179 179
180 // Interface for detecting multiprocessor system 180 // Interface for detecting multiprocessor system
181 static inline bool is_MP() { 181 static inline bool is_MP() {
182 assert(_processor_count > 0, "invalid processor count"); 182 assert(_processor_count > 0, "invalid processor count");
183 return _processor_count > 1; 183 return _processor_count > 1 || AssumeMP;
184 } 184 }
185 static julong available_memory(); 185 static julong available_memory();
186 static julong physical_memory(); 186 static julong physical_memory();
187 static bool has_allocatable_memory_limit(julong* limit); 187 static bool has_allocatable_memory_limit(julong* limit);
188 static bool is_server_class_machine(); 188 static bool is_server_class_machine();