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

Strengthen requirements to call G1HeapVerifier::verify(VerifyOption)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • gc
    • b28

      G1HeapVerifier::verify() seems to miss a return:

      void G1HeapVerifier::verify(VerifyOption vo) {
        if (!SafepointSynchronize::is_at_safepoint()) {
          log_info(gc, verify)("Skipping verification. Not at safepoint.");
          // here?
        }
        assert(Thread::current()->is_VM_thread(),
               "Expected to be executed serially by the VM thread at this point");

      Found by [~stefank] during discussion of JDK-8256641.

      This seems to be the case since initial import of that file.

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: