<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Creation, dynamic loading and instrumentation with javaagents</title>
	<atom:link href="http://dhruba.name/2010/02/07/creation-dynamic-loading-and-instrumentation-with-javaagents/feed/" rel="self" type="application/rss+xml" />
	<link>http://dhruba.name/2010/02/07/creation-dynamic-loading-and-instrumentation-with-javaagents/</link>
	<description>Maximum Zeal ~ Emphatic prose on indulged fascinations</description>
	<lastBuildDate>Tue, 13 Mar 2012 03:08:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Joe Walp</title>
		<link>http://dhruba.name/2010/02/07/creation-dynamic-loading-and-instrumentation-with-javaagents/comment-page-1/#comment-42091</link>
		<dc:creator>Joe Walp</dc:creator>
		<pubDate>Sat, 11 Feb 2012 05:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://dhruba.name/?p=1516#comment-42091</guid>
		<description>Thanks for publishing this.  It helped me get lombok [1] working [2] in dev mode with Google Plugin for Eclipse:

[1] http://projectlombok.org/
[2] the workaround
http://code.google.com/p/googleappengine/issues/detail?id=4122#c4</description>
		<content:encoded><![CDATA[<p>Thanks for publishing this.  It helped me get lombok [1] working [2] in dev mode with Google Plugin for Eclipse:</p>
<p>[1] <a href="http://projectlombok.org/" rel="nofollow">http://projectlombok.org/</a><br />
[2] the workaround<br />
<a href="http://code.google.com/p/googleappengine/issues/detail?id=4122#c4" rel="nofollow">http://code.google.com/p/googleappengine/issues/detail?id=4122#c4</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roshan P Koshy</title>
		<link>http://dhruba.name/2010/02/07/creation-dynamic-loading-and-instrumentation-with-javaagents/comment-page-1/#comment-28438</link>
		<dc:creator>Roshan P Koshy</dc:creator>
		<pubDate>Thu, 07 Jul 2011 14:16:05 +0000</pubDate>
		<guid isPermaLink="false">http://dhruba.name/?p=1516#comment-28438</guid>
		<description>Thanx for the help..  However i dont know how to load java agnet dynamically... I hav seen the result of static loading ...and how the result of dynamic loading comes?is it by entering command similar to staticloading?</description>
		<content:encoded><![CDATA[<p>Thanx for the help..  However i dont know how to load java agnet dynamically&#8230; I hav seen the result of static loading &#8230;and how the result of dynamic loading comes?is it by entering command similar to staticloading?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bdaddy</title>
		<link>http://dhruba.name/2010/02/07/creation-dynamic-loading-and-instrumentation-with-javaagents/comment-page-1/#comment-28044</link>
		<dc:creator>bdaddy</dc:creator>
		<pubDate>Tue, 28 Jun 2011 16:12:01 +0000</pubDate>
		<guid isPermaLink="false">http://dhruba.name/?p=1516#comment-28044</guid>
		<description>Great end-to-end tutorial!  I can&#039;t wait to give this technology a spin.

I imagine using this VirtualMachine.loadAgent()/TransformClassFile mechanism to wholesale replace an existing class implementation with another.  For example, say i want to simply comment out or add a couple lines to a method in the class.  It seems like this sort of &quot;wholesale dynamic class patching&quot; would be conceptually easier than bytecode manipulation via ASM or whatever.

I envision a tool with the usage of:

  jpatch   

Are you aware of such a tool?  Is there some fundamental roadblock I&#039;m overlooking that would prevent such a tool from working as expected?  (Granted I can imagine that weird things would happen if the bytecode change was too radical.)

Also, when using loadAgent() to inject the agent into a running JVM, does the JVM automatically cycle the class file transfer through all already loaded classes?  This doesn&#039;t appear to be clear from what I&#039;ve read of the documentation so far.  Guess I&#039;ll find out for myself when I give this stuff a try.</description>
		<content:encoded><![CDATA[<p>Great end-to-end tutorial!  I can&#8217;t wait to give this technology a spin.</p>
<p>I imagine using this VirtualMachine.loadAgent()/TransformClassFile mechanism to wholesale replace an existing class implementation with another.  For example, say i want to simply comment out or add a couple lines to a method in the class.  It seems like this sort of &#8220;wholesale dynamic class patching&#8221; would be conceptually easier than bytecode manipulation via ASM or whatever.</p>
<p>I envision a tool with the usage of:</p>
<p>  jpatch   </p>
<p>Are you aware of such a tool?  Is there some fundamental roadblock I&#8217;m overlooking that would prevent such a tool from working as expected?  (Granted I can imagine that weird things would happen if the bytecode change was too radical.)</p>
<p>Also, when using loadAgent() to inject the agent into a running JVM, does the JVM automatically cycle the class file transfer through all already loaded classes?  This doesn&#8217;t appear to be clear from what I&#8217;ve read of the documentation so far.  Guess I&#8217;ll find out for myself when I give this stuff a try.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

