Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-91 Modularize threading system (native thread support)
  3. RVM-753

Native Threads: exception in bootimagewriter on ppc32-aix and ppc64-linux

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Gliffy Diagrams

        Attachments

          Activity

          Hide
          dgrove David Grove added a comment -
          [piccolo:/home/dgrove/buildit/rvm-nativeThread/target/prototype_ppc32-aix] more BootImageWriterOutput.txt 
          
          Exception in thread "main" java.lang.ClassCastException: org.jikesrvm.classloader.RVMClass incompatible with org.jikesrvm.classloader.RVMArray
                  at org.jikesrvm.classloader.RVMType.asArray(RVMType.java:389)
                  at org.jikesrvm.tools.bootImageWriter.BootImageWriter.copyToBootImage(BootImageWriter.java:1933)
                  at org.jikesrvm.tools.bootImageWriter.BootImageWriter.processPendingEntries(BootImageWriter.java:1835)
                  at org.jikesrvm.tools.bootImageWriter.BootImageWriter.main(BootImageWriter.java:1005)
          

          Line 1933 in the BootImageWriter is related to the copying of runtime tables, so I suspect there is something wrong in how those are being initialized with native threads.

          I suspect this is due to code guarded by PowerOpen since ppc64-linux uses a calling convention that is similar to the AIX convention (unlike ppc32-linux).

          ppc32-linux builds correctly and runs a few simple test programs correctly.

          Show
          dgrove David Grove added a comment - [piccolo:/home/dgrove/buildit/rvm-nativeThread/target/prototype_ppc32-aix] more BootImageWriterOutput.txt Exception in thread "main" java.lang.ClassCastException: org.jikesrvm.classloader.RVMClass incompatible with org.jikesrvm.classloader.RVMArray at org.jikesrvm.classloader.RVMType.asArray(RVMType.java:389) at org.jikesrvm.tools.bootImageWriter.BootImageWriter.copyToBootImage(BootImageWriter.java:1933) at org.jikesrvm.tools.bootImageWriter.BootImageWriter.processPendingEntries(BootImageWriter.java:1835) at org.jikesrvm.tools.bootImageWriter.BootImageWriter.main(BootImageWriter.java:1005) Line 1933 in the BootImageWriter is related to the copying of runtime tables, so I suspect there is something wrong in how those are being initialized with native threads. I suspect this is due to code guarded by PowerOpen since ppc64-linux uses a calling convention that is similar to the AIX convention (unlike ppc32-linux). ppc32-linux builds correctly and runs a few simple test programs correctly.
          Hide
          dgrove David Grove added a comment -

          fixed by daniel/filip

          Show
          dgrove David Grove added a comment - fixed by daniel/filip

            People

            • Assignee:
              zyridium Daniel Frampton
              Reporter:
              dgrove David Grove
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: