Uploaded image for project: 'JikesRVM'
  1. RVM-692

Classpath Thread operations not supported because VMThreadMXBeanImpl is not implemented

    Details

      Description

      If you perform "Thread.currentThread().getStackTrace();" then the following stack trace occurs:

      Exception in thread "MainThread" java.lang.UnsatisfiedLinkError: < BootstrapCL, Lgnu/java/lang/management/VMThreadMXBeanImpl; >.getThreadInfoForId (JI)Ljava/lang/management/ThreadInfo;
      at .<invisible method>(Unknown Source:0)
      at java.lang.VMThrowable.fillInStackTrace(VMThrowable.java:49)
      at java.lang.Throwable.fillInStackTrace(Throwable.java:498)
      at java.lang.Throwable.<init>(Throwable.java:159)
      at java.lang.Error.<init>(Error.java:81)
      at java.lang.LinkageError.<init>(LinkageError.java:72)
      at java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:72)
      at org.jikesrvm.runtime.DynamicLinker.unimplementedNativeMethod(DynamicLinker.java:60)
      at gnu.java.lang.management.ThreadMXBeanImpl.getThreadInfo(ThreadMXBeanImpl.java:220)
      at java.lang.Thread.getStackTrace(Thread.java:1375)
      at test.main(test.java:7)

      I believe these beans were implemented by Andrew as part of his GSoC 2007 project, we should merge the code into the trunk.

        Attachments

          Activity

            People

            • Assignee:
              ebrangs Erik Brangs
              Reporter:
              ianrogers Ian Rogers
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: