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

MethodArityHistogram should use Compile_lock in favour of fancy checks

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      12
    • Resolved In Build:
      b18
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Back in 2018, JDK-8209588, and shortly after, JDK-8209950 was filed. The remedy to the observed SIGSEGV was to call a method which would use heuristics, guided by prior observations, to find out if the storage at hand was safe to be interpreted a nmethod object.

        Meanwhile, further insights led to the conclusion that the Compile_lock should be held (in addition to the CodeCache_lock) while constructing the MethodArityHistogram. Holding that additional lock would make it obsolete to rely on heuristics.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lucy Lucy Schmidt
                Reporter:
                lucy Lucy Schmidt
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: