Have you ever wondered why an otherwise idle Java process sits there
in an endless loop scheduling a thread, calling poll,
regularly eating a small amount of CPU?
I always used to think that this was because of things like the garbage-collector and the JIT compiler, but it's not...
[Read More]( Sep 29 2006, 03:00:00 PM CEST ) Permalink
I've just come back from a road-trip to other Sun development engineering sites. I was talking with the various product groups in Sun that use the technology that our team builds, which is a Java-based management daemon, leveraged in quite a few Sun products. I expect to be talking some more about the technology in this blog as time goes on.
[Read More]( Sep 28 2006, 03:00:00 PM CEST ) Permalink
In my last blog entry, I described how it's possible to get synchronized access to multiple attributes of the same MBean via the use of a SnapshotProxy and a SynchronizedStandardMBean.
This blog entry describes the SnapshotProxy in more detail.
( Sep 11 2006, 04:00:00 PM CEST ) Permalink Comments [2]
I was recently reading an excellent article by JMX Spec Lead Éamonn McManus called MXBeans in Java SE 6: Bundling Values Without Special JMX Client Configurations, which describes a great Java 6 platform feature related to management - that of supporting MXBeans - gone are your classpath issues with proprietory serialized Objects being sent over a JMX connection.
Although MXBeans are a very suitable general-purpose approach to this question, and MXBeans are what I'd recommend if you're able to use Java 6 and are able to choose your own data model, they're not the only way of getting access to MBean attributes in an atomic manner. This entry explains another approach to a slightly different problem-space - that of accessing different attributes in an atomic manner, rather than grouping the attributes together into a single, composite attribute.
[Read More]( Sep 08 2006, 05:30:00 PM CEST ) Permalink
![]() |
Nick Stephen is a software architect with over 15 year's experience, and is responsible for several Java-based management technologies at Sun Microsystems, where he has been working for the past 8 years. Prior to that, he worked for the Open Software Foundation Research Institute where he developed MkLinux on PowerMacs, and worked on the Mach microkernel and on Java middleware amongst other things. Before even that he worked on Operating System internals for massively parallel systems at Inmos Ltd. |
( Sep 08 2006, 05:00:00 PM CEST ) Permalink Comments [2]