mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8013895: G1: G1SummarizeRSetStats output on Linux needs improvemen
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
This commit is contained in:
parent
44d99cc5e3
commit
54964edefa
12 changed files with 585 additions and 102 deletions
|
@ -935,10 +935,10 @@ jlong os::elapsed_frequency() {
|
|||
return (1000 * 1000);
|
||||
}
|
||||
|
||||
// XXX: For now, code this as if BSD does not support vtime.
|
||||
bool os::supports_vtime() { return false; }
|
||||
bool os::supports_vtime() { return true; }
|
||||
bool os::enable_vtime() { return false; }
|
||||
bool os::vtime_enabled() { return false; }
|
||||
|
||||
double os::elapsedVTime() {
|
||||
// better than nothing, but not much
|
||||
return elapsedTime();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue