Possible to only use COMPUTE/EXPAND_FRAMES per method?

Arshan Dabirsiaghi <[email protected]> Tue, 3 Dec 2019 13:22:11 -0500
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <CAGMi-GtT00asHhFZm-rKxQaooCc7tNZ==bmuxrffFpgdK3B6kQ@mail.gmail.com>
This is a multi-part message in MIME format...

------------=_1575397354-16452-24
Content-Type: multipart/alternative; boundary="00000000000039b6150598d0c752"

--00000000000039b6150598d0c752
Content-Type: text/plain; charset="UTF-8"

Performance is very important for our use case, and it seems that the
COMPUTE/EXPAND_FRAMES options are quite expensive.

Right now, they are settings on ClassWriter/ClassReader. My understanding
(which I'm sure isn't perfect) of stack frame maps suggests they have no
class level effects, and thus reading/writing of a method bytecode from one
method to the next could use different settings without impacting one
another.

Is it possible we could as users isolate the cost of using
COMPUTE/EXPAND_FRAMES to only those methods that need it?

Thanks,
Arshan

--00000000000039b6150598d0c752
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Performance is very important for our use case, and it see=
ms that the COMPUTE/EXPAND_FRAMES options are quite expensive.=C2=A0<div><b=
r></div><div>Right now, they are settings on ClassWriter/ClassReader. My un=
derstanding (which I&#39;m sure isn&#39;t perfect) of stack frame maps sugg=
ests they have no class level effects, and thus reading/writing of a method=
 bytecode from one method to the next could use different settings without =
impacting one another.=C2=A0</div><div><br></div><div>Is it possible we cou=
ld as users isolate the cost of using COMPUTE/EXPAND_FRAMES to only those m=
ethods that need it?</div><div><br></div><div>Thanks,</div><div>Arshan</div=
></div>

--00000000000039b6150598d0c752--

------------=_1575397354-16452-24
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit


-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

------------=_1575397354-16452-24--