comparison src/os/posix/vm/os_posix.cpp @ 4525:f2a9de120e2d

8014611: reserve_and_align() assumptions are invalid on windows Summary: also reviewed by ron.durbin@oracle.com, thomas.schatzl@oracle.com Reviewed-by: dcubed, brutisso
author jcoomes
date Thu, 23 May 2013 03:08:19 -0700
parents 5db4eda6f534
children c233f56b2e00 63085fd28f10
comparison
equal deleted inserted replaced
8:ac143105d9de 9:32a10f498dea
132 } 132 }
133 133
134 return aligned_base; 134 return aligned_base;
135 } 135 }
136 136
137 bool os::can_release_partial_region() {
138 return true;
139 }
140
137 void os::Posix::print_load_average(outputStream* st) { 141 void os::Posix::print_load_average(outputStream* st) {
138 st->print("load average:"); 142 st->print("load average:");
139 double loadavg[3]; 143 double loadavg[3];
140 os::loadavg(loadavg, 3); 144 os::loadavg(loadavg, 3);
141 st->print("%0.02f %0.02f %0.02f", loadavg[0], loadavg[1], loadavg[2]); 145 st->print("%0.02f %0.02f %0.02f", loadavg[0], loadavg[1], loadavg[2]);