Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8344567

gc/g1/TestGCLogMessages.java issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • hotspot
    • gc

      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.

            Unassigned Unassigned
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: