Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCF5C10E9D for ; Sun, 28 Jul 2013 15:59:03 +0000 (UTC) Received: (qmail 12965 invoked by uid 500); 28 Jul 2013 15:59:03 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 12693 invoked by uid 500); 28 Jul 2013 15:59:00 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 12685 invoked by uid 99); 28 Jul 2013 15:58:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Jul 2013 15:58:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rmannibucau@gmail.com designates 209.85.128.181 as permitted sender) Received: from [209.85.128.181] (HELO mail-ve0-f181.google.com) (209.85.128.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Jul 2013 15:58:52 +0000 Received: by mail-ve0-f181.google.com with SMTP id jz10so2375151veb.12 for ; Sun, 28 Jul 2013 08:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=M91APAtPIhCpsb6fSL3tyWtNJwGNXh7RP8TSPDADlAU=; b=YAJdtfgzaUJyx82EeAE+d1Y+MeIH2yWT+kSBz8Ei5keKyStz4AQi3rOtEEpvdgxxIm Tz4rzun3zi4XIrs3srOHmTihuNiRbuKsM676jK3Q2Cdb9P4W4Y3iTKwepbIg45IxMmEO DXkb+washrQoFvS8pXsXizvKmKlWVTQhZiS92kkRV2FyM740s3uskIzaC3IkXkxZGbzi bcQrOZ1rmHD8LjLKF2MBQDFVhjPoP3QRo7xqivE+ohhXon3aH28Ex9qsQ3YexluSDWFE V2kerkG4NVORBxqsFFAeno+MSDmdSxd23mMr5MOTnsmoPhvMVla1aiZ2MZIHLUt8hPhw VaHw== X-Received: by 10.52.248.134 with SMTP id ym6mr12981314vdc.78.1375027111550; Sun, 28 Jul 2013 08:58:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.209.3 with HTTP; Sun, 28 Jul 2013 08:58:10 -0700 (PDT) In-Reply-To: References: From: Romain Manni-Bucau Date: Sun, 28 Jul 2013 17:58:10 +0200 Message-ID: Subject: Re: [proxy] and impl To: gudnabrsam@gmail.com, Commons Developers List Content-Type: multipart/alternative; boundary=089e013c5b7e8a637704e29472eb X-Virus-Checked: Checked by ClamAV on apache.org --089e013c5b7e8a637704e29472eb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi here is a patch implementing proxying using ASM: https://gist.github.com/rmannibucau/6099063 having the handlers used by default in ProxyFactory protected would avoid to copy them in ASMProxyFactory. *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/7/28 Romain Manni-Bucau > Cglib is "almost" dead if i'm right, javassist is alive but not that > stable and owb is faster ATM and at least would bring an Apache impl > adapted to [proxy]. > > Note: the fact to be able to reuse InvocationHandler and not a new API is > great too > Le 27 juil. 2013 20:13, "Matt Benson" a =E9crit : > > AFAIK Mark Struberg's work on the OWB proxies could be instructive, and >> since I've just spent several weeks in ASM hell I might just be a bit of >> use there myself. The only thing is, isn't cglib built on ASM as well? T= he >> dynamic nature of the various proxy helpers means that we probably >> couldn't >> really improve on cglib, i.e. only if we could test invocation matching = up >> front while creating the proxy class would we be faster. >> >> Matt >> On Jul 27, 2013 12:22 PM, "Romain Manni-Bucau" >> wrote: >> >> > Hehe, we benched in owb but lets wait the porting ;) >> > Le 27 juil. 2013 16:49, "James Carman" a >> > =E9crit : >> > >> > > On Sat, Jul 27, 2013 at 10:34 AM, Romain Manni-Bucau >> > > wrote: >> > > > Once ill have done the monitoring stuff ill try to work on it. >> > > >> > > What would be really cool is to have a "smackdown" once we get ASM >> > > into the mix to see which one performs the best and exactly how fast >> > > they are compared to one another. >> > > >> > > --------------------------------------------------------------------= - >> > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org >> > > For additional commands, e-mail: dev-help@commons.apache.org >> > > >> > > >> > >> > --089e013c5b7e8a637704e29472eb--