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

Incorrect generated code for compiled native wrappers with many float args on SPARCv9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • None
    • sparc
    • solaris

      There is a bug in the generation of native wrappers on SPARC v9 for methods with many floating-point arguments. It is reproducible by running Java2Demo with -d64 -server and switching to the "Arcs_Curves" tab. After a couple of seconds most of the windows' outputs will become garbled. This is a new regression introduced in b28 along with the no adapters changes. There is no problem on 32-bit SPARC.

      The errant native wrappers are those for sun.dc.pr.PathStroker.appendCubic(FFFFFF)V and sun.dc.pr.PathFiller.appendCubic(FFFFFF)V. In order to isolate this and to be able to exclude generation of native wrappers in the future I've added support to the interpreter runtime and shared runtime to obey the compiler oracle's exclude list for native wrappers. The diffs for these changes are in the Comments.

      ###@###.### 2005-04-05 00:49:32 GMT

            Unassigned Unassigned
            kbr Kenneth Russell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: