mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
7166894: Add gc cause to GC logging for all collectors
Reviewed-by: mgerdin, johnc
This commit is contained in:
parent
b2d4591455
commit
eba9965d54
16 changed files with 75 additions and 54 deletions
|
@ -206,6 +206,10 @@ class JDK_Version VALUE_OBJ_CLASS_SPEC {
|
|||
return current().compare_major(7) == 0;
|
||||
}
|
||||
|
||||
static bool is_jdk18x_version() {
|
||||
return current().compare_major(8) == 0;
|
||||
}
|
||||
|
||||
static bool is_gte_jdk13x_version() {
|
||||
return current().compare_major(3) >= 0;
|
||||
}
|
||||
|
@ -225,6 +229,10 @@ class JDK_Version VALUE_OBJ_CLASS_SPEC {
|
|||
static bool is_gte_jdk17x_version() {
|
||||
return current().compare_major(7) >= 0;
|
||||
}
|
||||
|
||||
static bool is_gte_jdk18x_version() {
|
||||
return current().compare_major(8) >= 0;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // SHARE_VM_RUNTIME_JAVA_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue