[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Dynamic attachment of the aspect javaagent
- From: Andy Clement <andrew.clement@xxxxxxxxx>
- Date: Tue, 8 Nov 2011 09:01:18 -0800
- Delivered-to: firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xWJNfqS1U9XfMjvapNOp0mMersCVUmEaWmh8VEwABEo=; b=bAGe+6b06LMmyDo3wep0sGrb2iDehlwnE4um33FvMhOz/x95oye19Dqe6+x/B9SHoK 2XKVJanY1ekRj3XUbQk4SvZkEK152ZHKLSrUaVcaGLN2cNfPSAOFp3LqIOIXedNTRxGb nZRlIM87FtJkqSO04F85mooxYgtH7BXoEbsxw=
I don't recall the exact discussion about it from the mailing list.
Nothing has been actively done in this area - not sure we even have an
open bugzilla for an enhancement.
Completely dynamic attachment, I guess something might be possible
there if communicating with the JVMTI interface. Simpler might be to
run with javaagent but have it turned off (checking some kind of flag)
until something occurs that switches it on (sets that flag).
Do you have a specific use case that requires dynamic attachment?
On 8 November 2011 08:27, <Richard_Whitehurst@xxxxxxxxxx> wrote:
> A while back there were some questions about dynamically attaching the
> aspectj javaagent; has there been any progress on this, or was there not
> enough interest to pursue it?
> My apologies if this is documented somewhere and I missed it.
> Dick Whitehurst
> aspectj-users mailing list