mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
Merge
This commit is contained in:
commit
c17d80e53d
21 changed files with 206 additions and 51 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue