mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8134953: Make the GC ID available in a central place
Reviewed-by: pliden, jmasa
This commit is contained in:
parent
d516b42238
commit
003892f897
41 changed files with 253 additions and 291 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "precompiled.hpp"
|
||||
#include "compiler/compileLog.hpp"
|
||||
#include "gc/shared/gcId.hpp"
|
||||
#include "gc/shared/gcId.hpp"
|
||||
#include "oops/oop.inline.hpp"
|
||||
#include "runtime/arguments.hpp"
|
||||
#include "runtime/os.hpp"
|
||||
|
@ -238,11 +239,11 @@ void outputStream::date_stamp(bool guard,
|
|||
return;
|
||||
}
|
||||
|
||||
void outputStream::gclog_stamp(const GCId& gc_id) {
|
||||
void outputStream::gclog_stamp() {
|
||||
date_stamp(PrintGCDateStamps);
|
||||
stamp(PrintGCTimeStamps);
|
||||
if (PrintGCID) {
|
||||
print("#%u: ", gc_id.id());
|
||||
print("#%u: ", GCId::current());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue