comparison src/os/posix/vm/os_posix.cpp @ 4703:73863f836e34

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 e629a7d0b760
children 63085fd28f10
comparison
equal deleted inserted replaced
7:479456412ebd 11:0aed60d97924
114 } 114 }
115 115
116 return aligned_base; 116 return aligned_base;
117 } 117 }
118 118
119 bool os::can_release_partial_region() {
120 return true;
121 }
122
119 void os::Posix::print_load_average(outputStream* st) { 123 void os::Posix::print_load_average(outputStream* st) {
120 st->print("load average:"); 124 st->print("load average:");
121 double loadavg[3]; 125 double loadavg[3];
122 os::loadavg(loadavg, 3); 126 os::loadavg(loadavg, 3);
123 st->print("%0.02f %0.02f %0.02f", loadavg[0], loadavg[1], loadavg[2]); 127 st->print("%0.02f %0.02f %0.02f", loadavg[0], loadavg[1], loadavg[2]);