zombie methods must be gc-ed until they are flushed

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 5.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: