mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8210716: Detailed GC logging request misses some
Changed log tags from (heap, ergo) to (gc, ergo, heap). Reviewed-by: kbarrett, tschatzl
This commit is contained in:
parent
ab8c7f710c
commit
33c38f2ccb
3 changed files with 21 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2018, 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
|
||||
|
@ -122,7 +122,7 @@ size_t AdjoiningGenerations::reserved_byte_size() {
|
|||
}
|
||||
|
||||
void log_before_expansion(bool old, size_t expand_in_bytes, size_t change_in_bytes, size_t max_size) {
|
||||
Log(heap, ergo) log;
|
||||
Log(gc, ergo, heap) log;
|
||||
if (!log.is_debug()) {
|
||||
return;
|
||||
}
|
||||
|
@ -136,7 +136,7 @@ void log_before_expansion(bool old, size_t expand_in_bytes, size_t change_in_byt
|
|||
}
|
||||
|
||||
void log_after_expansion(bool old, size_t max_size) {
|
||||
Log(heap, ergo) log;
|
||||
Log(gc, ergo, heap) log;
|
||||
if (!log.is_debug()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue