Re: [rvm-research] running GraphChi with JikesRVM
Robin Garner <[email protected]> Mon, 16 Oct 2017 16:07:37 +1100
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
> Is it possible to patch the 3.1.3 version to include JMX support? Possible ... absolutely. Difficult to know how hard it is, though. AFAICT, the bulk of the work was done in commit ce8f94906f96339b205bccac40c2381f5e44dde6, so try patching with this commit, then find out what breaks and iterate until done. It doesn't look that big, but it's hard to know what other changes it depends on indirectly. You may find it easier just to port your own work to 3.1.4, but you won't know until you try. cheers, Robin On 16/10/17 07:15, Shoaib Akram wrote: > Thanks a lot Erik! Initial testing of graphChi with JikesRVM succeeds when using version 3.1.4. Previously, I was using 3.1.3. Is it possible to patch the 3.1.3 version to include JMX support? > >> On Oct 15, 2017, at 5:57 PM, Erik Brangs <[email protected]> wrote: >> >> Hi, >> >> On 15.10.2017 17:07, Shoaib Akram wrote: >>> [...] After some processing, I get the error I reproduce below. I would be glad if some one gives me directions on how to cross this obstacle ;) Thanks a ton! [...] >>> >>> Exception in thread "MainThread" java.lang.UnsatisfiedLinkError: < BootstrapCL, Ljava/lang/management/VMManagementFactory; >.getMemoryPoolNames ()[Ljava/lang/String; >>> at org.jikesrvm.runtime.DynamicLinker.unimplementedNativeMethod(DynamicLinker.java:64) >>> at java.lang.management.ManagementFactory.getMemoryPoolMXBeans(ManagementFactory.java:397) >>> at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:510) >>> at com.yammer.metrics.reporting.JmxReporter.<init>(JmxReporter.java:388) >>> at com.yammer.metrics.reporting.JmxReporter.startDefault(JmxReporter.java:340) >>> at com.yammer.metrics.Metrics.<clinit>(Metrics.java:20) >>> at org.jikesrvm.classloader.RVMClass.initialize(RVMClass.java:1542) >>> at org.jikesrvm.runtime.RuntimeEntrypoints.initializeClassForDynamicLink(RuntimeEntrypoints.java:610) >>> at org.jikesrvm.classloader.TableBasedDynamicLinker.resolveMember(TableBasedDynamicLinker.java:76) >>> at org.jikesrvm.classloader.TableBasedDynamicLinker.resolveMember(TableBasedDynamicLinker.java:65) >>> at edu.cmu.graphchi.engine.GraphChiEngine.<init>(GraphChiEngine.java:85) >>> at edu.cmu.graphchi.apps.Pagerank.main(Pagerank.java:108) >> The application is trying to use JMX which isn't implemented in Jikes RVM 3.1.3 and earlier. An incomplete JMX implementation is available since Jikes RVM 3.1.4. >> >> Which version of Jikes RVM are you using? >> >> >> Kind regards, >> >> Erik Brangs >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Jikesrvm-researchers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Jikesrvm-researchers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot