TestGCLogMessages.java verifies that certain log messages are generated by a young GC. The test setup registers a number of expected messages. There are a few problems in the "Post Evacuate Cleanup 2" set.
"Update Derived Pointers" is build-time conditional on COMPILER2_OR_JVMCI, but the test expects it unconditionally. That check ought to be registered using LogMessageWithLevelC2OrJVMCIOnly.
"Eagerly Reclaim Humongous Objects" check is missing. The associated task is conditionally executed, but all of the the logging is unconditional. If the task wasn't run, the logged value will be "skipped".
There might be other problems elsewhere; I happened to notice these while adding a new check in the Cleanup 2 set.
"Update Derived Pointers" is build-time conditional on COMPILER2_OR_JVMCI, but the test expects it unconditionally. That check ought to be registered using LogMessageWithLevelC2OrJVMCIOnly.
"Eagerly Reclaim Humongous Objects" check is missing. The associated task is conditionally executed, but all of the the logging is unconditional. If the task wasn't run, the logged value will be "skipped".
There might be other problems elsewhere; I happened to notice these while adding a new check in the Cleanup 2 set.