Details

    • Number of attachments :
      0

      Description

      Message from core list::

      Hi,

      I compile the jikesrvm 2.9.2 on a x86_64 machine with a redhat linux.
      I ran a test hello word program and it report the following errors.
      Thank you for help me out of this.

      [fmao@XXXX /tmp]$ rvm -X:aos:dcfo=my_dynamic_call_graph_file -X:aos:final_report_level=2 helloword Hello World!
      Exception in thread "MainThread": java.lang.NullPointerException
      at java.lang.ThreadLocalMap.get(ThreadLocalMap.java:212)
      at java.lang.ThreadLocal.get(ThreadLocal.java:149)
      at gnu.java.nio.VMChannel$LocalByteArray.get(VMChannel.java:183)
      at gnu.java.nio.VMChannel.write(VMChannel.java:397)
      at gnu.java.nio.VMChannel.write(VMChannel.java:409)
      at gnu.java.nio.VMChannel.write(VMChannel.java:421)
      at gnu.java.nio.FileChannelImpl.write(FileChannelImpl.java:261)
      at java.io.FileOutputStream.write(FileOutputStream.java:279)
      at java.io.PrintStream.writeChars(PrintStream.java:342)
      at java.io.PrintStream.print(PrintStream.java:297)
      at java.io.PrintStream.println(PrintStream.java:546)
      at org.jikesrvm.compilers.baseline.VM_BranchProfiles.print(VM_BranchProfiles.java:57)
      at org.jikesrvm.compilers.baseline.VM_EdgeCounts.dumpCounts(VM_EdgeCounts.java:121)
      at org.jikesrvm.compilers.baseline.VM_EdgeCounts.dumpCounts(VM_EdgeCounts.java:101)
      at org.jikesrvm.adaptive.controller.VM_Controller.report(VM_Controller.java:293)
      at org.jikesrvm.adaptive.controller.VM_Controller.notifyExit(VM_Controller.java:199)
      at org.jikesrvm.VM_Callbacks.notifyExit(VM_Callbacks.java:801)
      at org.jikesrvm.VM.sysExit(VM.java:2084)
      at java.lang.VMRuntime.exit(VMRuntime.java:97)
      at java.lang.Runtime.halt(Runtime.java:396)
      at java.lang.Runtime.exit(Runtime.java:174)
      We got an uncaught exception while (recursively) handling 1 uncaught exception.
      Exception in thread "MainThread": java.lang.NullPointerException
      at java.lang.Thread.die(Thread.java:1066)
      at java.lang.JikesRVMSupport.threadDied(JikesRVMSupport.java:101)
      at org.jikesrvm.scheduler.VM_Thread.terminate(VM_Thread.java:660)
      at org.jikesrvm.scheduler.VM_Thread.handleUncaughtException(VM_Thread.java:1837)
      at org.jikesrvm.runtime.VM_Runtime.deliverException(VM_Runtime.java:966)
      at org.jikesrvm.runtime.VM_Runtime.athrow(VM_Runtime.java:620)
      at org.jikesrvm.VM_Callbacks.notifyExit(VM_Callbacks.java:803)
      at org.jikesrvm.VM.sysExit(VM.java:2084)
      at java.lang.VMRuntime.exit(VMRuntime.java:97)
      at java.lang.Runtime.halt(Runtime.java:396)
      at java.lang.Runtime.exit(Runtime.java:174)
      We got an uncaught exception while (recursively) handling 2 uncaught exceptions.
      Exception in thread "MainThread": java.lang.NullPointerException
      at java.lang.Thread.die(Thread.java:1066)
      at java.lang.JikesRVMSupport.threadDied(JikesRVMSupport.java:101)
      at org.jikesrvm.scheduler.VM_Thread.terminate(VM_Thread.java:660)
      at org.jikesrvm.scheduler.VM_Thread.handleUncaughtException(VM_Thread.java:1837)
      at org.jikesrvm.runtime.VM_Runtime.deliverException(VM_Runtime.java:966)
      at org.jikesrvm.runtime.VM_Runtime.athrow(VM_Runtime.java:620)
      at org.jikesrvm.runtime.VM_Runtime.unlockAndThrow(VM_Runtime.java:761)
      at java.lang.Thread.die(Thread.java:1066)
      at java.lang.JikesRVMSupport.threadDied(JikesRVMSupport.java:101)
      at org.jikesrvm.scheduler.VM_Thread.terminate(VM_Thread.java:660)
      at org.jikesrvm.scheduler.VM_Thread.handleUncaughtException(VM_Thread.java:1837)
      at org.jikesrvm.runtime.VM_Runtime.deliverException(VM_Runtime.java:966)
      at org.jikesrvm.runtime.VM_Runtime.athrow(VM_Runtime.java:620)
      at org.jikesrvm.VM_Callbacks.notifyExit(VM_Callbacks.java:803)
      at org.jikesrvm.VM.sysExit(VM.java:2084)
      at java.lang.VMRuntime.exit(VMRuntime.java:97)
      at java.lang.Runtime.halt(Runtime.java:396)
      at java.lang.Runtime.exit(Runtime.java:174)
      We got an uncaught exception while (recursively) handling 3 uncaught exceptions.
      VM.dieAbruptlyRecursiveSystemTrouble(): Dying abruptly; we're stuck in a recursive shutdown/exit.

      Fern

        Activity

        Hide
        Steve Blackburn added a comment -

        I think the problem is simply that replay is not turned on (-X:aos:enable_replay_compile=true)

        I have no problem with using replay advice (I've been testing it heavily with a revision just prior to 2.9.2).

        Here's how I use it:

        rvm -X:aos:enable_replay_compile=true -X:aos:cafi=bm.ca -X:aos:dcfi=bm.dc -X:vm:edgeCounterFile=advice/bm.ec bm

        Show
        Steve Blackburn added a comment - I think the problem is simply that replay is not turned on (-X:aos:enable_replay_compile=true) I have no problem with using replay advice (I've been testing it heavily with a revision just prior to 2.9.2). Here's how I use it: rvm -X:aos:enable_replay_compile=true -X:aos:cafi=bm.ca -X:aos:dcfi=bm.dc -X:vm:edgeCounterFile=advice/bm.ec bm
        Hide
        Ian Rogers added a comment -

        Can this issue be closed?

        Show
        Ian Rogers added a comment - Can this issue be closed?
        Hide
        Steve Blackburn added a comment -

        As far as I can tell there is no problem.

        Show
        Steve Blackburn added a comment - As far as I can tell there is no problem.

          People

          • Assignee:
            Steve Blackburn
            Reporter:
            David Grove
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: