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

zombie methods must be gc-ed until they are flushed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 5.0
    • hotspot
    • generic
    • generic

      The JVMTI changes added a call to

      JvmtiExport::post_compiled_method_unload_at_safepoint

      to nmethod::flush. This means that the methodOop embedded in an nmethod
      is live until the nmethod is flushed, not just until the the nmethod is
      made a zombie. If a gc happens while the nmethod is a zombie, the
      call to post_compiled_method_unload_at_safepoint can segv on the bad
      methodOop.

            Unassigned Unassigned
            phh Paul Hohensee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: