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

Buggy looking null check in ServiceThread::oops_do()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 16
    • None
    • hotspot
    • None
    • b14

    Description


      void ServiceThread::oops_do(OopClosure* f, CodeBlobClosure* cf)

      Passes both OopClosure and CodeBlobClosure but doesn't call JvmtiDeferredMethodQueue::oops_do() if cf is NULL, ignoring the OopClosure passed in. The latter doesn't use 'f' but ServiceThread shouldn't know that.

      Attachments

        Activity

          People

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: