comparison src/os/bsd/vm/os_bsd.cpp @ 10372:e72f7eecc96d

8013895: G1: G1SummarizeRSetStats output on Linux needs improvemen Summary: Fixed the output of G1SummarizeRSetStats: too small datatype for the number of concurrently processed cards, added concurrent remembered set thread time retrieval for Linux and Windows (BSD uses os::elapsedTime() now), and other cleanup. The information presented during VM operation is now relative to the previous output, not always cumulative if G1SummarizeRSetStatsPeriod > 0. At VM exit, the code prints a cumulative summary. Reviewed-by: johnc, jwilhelm
author tschatzl
date Tue, 28 May 2013 09:32:06 +0200
parents 9ce110b1d14a
children f8c8cace25ad
comparison
equal deleted inserted replaced
10371:c20186fa611b 10372:e72f7eecc96d
933 933
934 jlong os::elapsed_frequency() { 934 jlong os::elapsed_frequency() {
935 return (1000 * 1000); 935 return (1000 * 1000);
936 } 936 }
937 937
938 // XXX: For now, code this as if BSD does not support vtime. 938 bool os::supports_vtime() { return true; }
939 bool os::supports_vtime() { return false; }
940 bool os::enable_vtime() { return false; } 939 bool os::enable_vtime() { return false; }
941 bool os::vtime_enabled() { return false; } 940 bool os::vtime_enabled() { return false; }
941
942 double os::elapsedVTime() { 942 double os::elapsedVTime() {
943 // better than nothing, but not much 943 // better than nothing, but not much
944 return elapsedTime(); 944 return elapsedTime();
945 } 945 }
946 946