mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 12:04:39 +02:00
8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david. Co-authored-by: David Lindholm <david.lindholm@oralce.com> Reviewed-by: sjohanss, david, brutisso
This commit is contained in:
parent
581eb19018
commit
ffeb0bdad0
200 changed files with 3331 additions and 6147 deletions
|
@ -460,26 +460,19 @@ class Universe: AllStatic {
|
|||
|
||||
// Debugging
|
||||
static bool verify_in_progress() { return _verify_in_progress; }
|
||||
static void verify(VerifyOption option, const char* prefix, bool silent = VerifySilently);
|
||||
static void verify(const char* prefix, bool silent = VerifySilently) {
|
||||
verify(VerifyOption_Default, prefix, silent);
|
||||
static void verify(VerifyOption option, const char* prefix);
|
||||
static void verify(const char* prefix) {
|
||||
verify(VerifyOption_Default, prefix);
|
||||
}
|
||||
static void verify(bool silent = VerifySilently) {
|
||||
verify("", silent);
|
||||
static void verify() {
|
||||
verify("");
|
||||
}
|
||||
|
||||
static int verify_count() { return _verify_count; }
|
||||
// The default behavior is to call print_on() on gclog_or_tty.
|
||||
static void print();
|
||||
// The extended parameter determines which method on the heap will
|
||||
// be called: print_on() (extended == false) or print_extended_on()
|
||||
// (extended == true).
|
||||
static void print_on(outputStream* st, bool extended = false);
|
||||
static void print_on(outputStream* st);
|
||||
static void print_heap_at_SIGBREAK();
|
||||
static void print_heap_before_gc() { print_heap_before_gc(gclog_or_tty); }
|
||||
static void print_heap_after_gc() { print_heap_after_gc(gclog_or_tty); }
|
||||
static void print_heap_before_gc(outputStream* st, bool ignore_extended = false);
|
||||
static void print_heap_after_gc(outputStream* st, bool ignore_extended = false);
|
||||
static void print_heap_before_gc();
|
||||
static void print_heap_after_gc();
|
||||
|
||||
// Change the number of dummy objects kept reachable by the full gc dummy
|
||||
// array; this should trigger relocation in a sliding compaction collector.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue