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

overload use of ebp causes jump into space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • None
    • b39
    • x86
    • generic

      Running a set of tests I found that c2 generated a tail-call like:

      0xd7ca9eed: movl $0xd7c00180,%ebp
      0xd7ca9ef2: movl $0x00000000,%ebx
      0xd7ca9ef7: addl $0x00000048,%esp
      0xd7ca9efa: popl %ebp
      0xd7ca9efb: jmp *%ebp


      This is caused by the fact that the epilog node always pops ebp on exit and
      there is no notion that it kills it.

      ###@###.### 2005-05-16 14:14:22 GMT

            sgoldman Steve Goldman (Inactive)
            sgoldman Steve Goldman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: