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

Buggy looking null check in ServiceThread::oops_do()

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      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

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

              Dates

              Created:
              Updated:
              Resolved: