Re: [rvm-research] Runtime Exception with JMX
Erik Brangs <[email protected]> Wed, 27 Jun 2018 17:45:30 +0200
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 27.06.2018 10:14, Khaled Z Mahmoud wrote: > When I tried the following: > ThreadMXBean tMXB = ManagementFactory.getThreadMXBean(); > long tid = Thread.currentThread().getId(); > ThreadInfo tInfo = tMXB.getThreadInfo(tid); > > I get the bellow error: > > JikesRVM: Failing instruction starting at 0 wasn't in RVM address space > JikesRVM: unexpected hardware trap outside of RVM address space - (nil) 0x6800810c > fault address (nil) > eip (nil) > eax (T0) (nil) > [...] > Any ideas ? It could be a bug in the JMX implementation. I wasn't able to reproduce it but I've pushed a fix for another issue. The implementation threw an exception for invalid ids instead of returning null. Are you trying to get information about SystemThreads? Our implementation currently doesn't provide any info about them so tInfo would be null in that case. 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