Details
-
Bug
-
Resolution: Fixed
-
P4
-
18
-
b06
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8281693 | 17.0.4-oracle | Adithya Haradi Gopal | P4 | Resolved | Fixed | b01 |
JDK-8282961 | 17.0.4 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
Description
This test "Checks PLAB statistics on evacuation failure", but the log decorators used are "-Xlog:gc=debug,gc+phases=trace". Therefore, the logs contain no PLAB related info. However, all checks in this test still pass.
The essense of all checks is the following, when `logItems` is empty, this method becomes a no-op, skipping all checks.
```
private static void checkValues(Map<Long, PlabInfo> logItems, String errorMessage, boolean expectZero) {
logItems.entrySet()
.forEach(...);
}
```
The essense of all checks is the following, when `logItems` is empty, this method becomes a no-op, skipping all checks.
```
private static void checkValues(Map<Long, PlabInfo> logItems, String errorMessage, boolean expectZero) {
logItems.entrySet()
.forEach(...);
}
```
Attachments
Issue Links
- backported by
-
JDK-8281693 Incorrect log decorators in gc/g1/plab/TestPLABEvacuationFailure.java
-
- Resolved
-
-
JDK-8282961 Incorrect log decorators in gc/g1/plab/TestPLABEvacuationFailure.java
-
- Resolved
-
- links to
-
Commit openjdk/jdk17u-dev/f25a8fc5
-
Commit openjdk/jdk/4a45d957
-
Review openjdk/jdk17u-dev/215
-
Review openjdk/jdk/4707
(1 links to)