mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8151085: Change G1 concurrent timer and tracer measuring time
Change measuring time for G1 concurrent phases and reporting heap summary Reviewed-by: brutisso, sjohanss
This commit is contained in:
parent
50b0262b13
commit
9f63ca85a7
9 changed files with 63 additions and 142 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -242,4 +242,12 @@ void G1NewTracer::report_adaptive_ihop_statistics(size_t threshold,
|
|||
prediction_active);
|
||||
}
|
||||
|
||||
void G1OldTracer::report_gc_start_impl(GCCause::Cause cause, const Ticks& timestamp) {
|
||||
_shared_gc_info.set_start_timestamp(timestamp);
|
||||
}
|
||||
|
||||
void G1OldTracer::set_gc_cause(GCCause::Cause cause) {
|
||||
_shared_gc_info.set_cause(cause);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue