This commit is contained in:
Mikael Gerdin 2013-04-04 19:07:32 +02:00
commit c17d80e53d
21 changed files with 206 additions and 51 deletions

View file

@ -180,7 +180,7 @@ class os: AllStatic {
// Interface for detecting multiprocessor system
static inline bool is_MP() {
assert(_processor_count > 0, "invalid processor count");
return _processor_count > 1;
return _processor_count > 1 || AssumeMP;
}
static julong available_memory();
static julong physical_memory();