[rvm-research] Runtime Exception when running JMX

Erik Brangs <[email protected]> Sat, 16 Jun 2018 20:34:00 +0200
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
Hi,

On 16.06.2018 19:26, Khaled Z Mahmoud wrote:
> I realized that JMX operations in Jikes are very slow. Sometimes they take 45 or 50 milliseconds and sometimes more.
> 
> Are there any synchronized variables shared with the Jikes run-time that could potentially slowdown jikes if I read JMX frequently ?
> I have experience 10 fold increase in application execution time when reading JMX information.

IIRC there aren't any expensive operations in JMX from Jikes RVM itself to MMTk. However, I haven't looked at the performance for JMX and currently don't plan to. If you want to make some improvements there, we'd be happy to review your patches.

You could also switch to another method of monitoring. There are probably several workable approaches, depending on what you need. Someone else on this list can probably help you with that.


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