mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
6843629: Make current hotspot build part of jdk5 control build
Source changes for older compilers plus makefile changes. Reviewed-by: xlu
This commit is contained in:
parent
ab3b12bdbd
commit
ce423c9e98
28 changed files with 162 additions and 103 deletions
|
@ -457,7 +457,7 @@ static volatile int max_hrtime_lock = LOCK_FREE; // Update counter with LSB
|
|||
|
||||
|
||||
void os::Solaris::initialize_system_info() {
|
||||
_processor_count = sysconf(_SC_NPROCESSORS_CONF);
|
||||
set_processor_count(sysconf(_SC_NPROCESSORS_CONF));
|
||||
_processors_online = sysconf (_SC_NPROCESSORS_ONLN);
|
||||
_physical_memory = (julong)sysconf(_SC_PHYS_PAGES) * (julong)sysconf(_SC_PAGESIZE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue