comparison src/os/windows/vm/os_windows.cpp @ 1123:167c2986d91b

6843629: Make current hotspot build part of jdk5 control build Summary: Source changes for older compilers plus makefile changes. Reviewed-by: xlu
author phh
date Wed, 16 Dec 2009 12:54:49 -0500
parents aafa4232dfd7
children f19bf22685cc
comparison
equal deleted inserted replaced
1122:dcb15a6f342d 1123:167c2986d91b
3148 GetSystemInfo(&si); 3148 GetSystemInfo(&si);
3149 _vm_page_size = si.dwPageSize; 3149 _vm_page_size = si.dwPageSize;
3150 _vm_allocation_granularity = si.dwAllocationGranularity; 3150 _vm_allocation_granularity = si.dwAllocationGranularity;
3151 _processor_type = si.dwProcessorType; 3151 _processor_type = si.dwProcessorType;
3152 _processor_level = si.wProcessorLevel; 3152 _processor_level = si.wProcessorLevel;
3153 _processor_count = si.dwNumberOfProcessors; 3153 set_processor_count(si.dwNumberOfProcessors);
3154 3154
3155 MEMORYSTATUSEX ms; 3155 MEMORYSTATUSEX ms;
3156 ms.dwLength = sizeof(ms); 3156 ms.dwLength = sizeof(ms);
3157 3157
3158 // also returns dwAvailPhys (free physical memory bytes), dwTotalVirtual, dwAvailVirtual, 3158 // also returns dwAvailPhys (free physical memory bytes), dwTotalVirtual, dwAvailVirtual,