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

PPC64: Race condition between stack bang and non-entrant patching

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • hotspot
    • None
    • b143
    • ppc

      The signal handler on linux PPC64 investigates the instruction when a stack bang has hit the protected zone. Another thread may patch the verified entry point preventing the signal handler from recognizing the stack overflow.
      This problem can be prevented by rearranging C1's prolog code such that the stack bang instruction will never be at the verified entry point. C2's prolog code is already implemented accordingly.

            mdoerr Martin Doerr
            mdoerr Martin Doerr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: