RVM

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

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Activity

Hide
David Grove added a comment - - edited
[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
David Grove added a comment - - edited
[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
David Grove added a comment -

fixed by daniel/filip

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

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: