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

Buggy looking null check in ServiceThread::oops_do()

XMLWordPrintable

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


      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.

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

              Created:
              Updated:
              Resolved: